donal
2018-04-19 cb933d400035237a65f811748109746a3289504f
commit | author | age
28917b 1 FROM registry.access.redhat.com/rhscl/nodejs-6-rhel7
D 2
3 WORKDIR /usr/src/app
4
5 ENV FIX_DIR /usr/src/app
6
7 USER root
8 RUN chown -R "1001" "${FIX_DIR}" && \
9     chgrp -R 0 "${FIX_DIR}" && \
10     chmod -R g+rw "${FIX_DIR}" && \
11     find "${FIX_DIR}" -type d -exec chmod g+x {} +
12
13 USER 1001
14
15 RUN scl enable rh-nodejs6 'npm install http-server'
16
265abe 17 COPY dist /usr/src/app
28917b 18
D 19 CMD ["./node_modules/.bin/http-server"]