Ravi Srinivasan
2019-02-12 55d834d54a62c3887b5a294e97080c8d79733266
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"]