fix(dockerfile): fix minor bugs stopping build

This commit is contained in:
Asif Bacchus 2021-07-22 17:38:43 -06:00
parent 1ca3b48d0d
commit 9ee212fcef
1 changed files with 4 additions and 4 deletions

View File

@ -20,8 +20,8 @@ RUN apk --update --no-cache add \
tini \
tzdata \
openssl \
&& chown node:node /certs \
&& chmod 700 certs \
&& chown node:node /var/certs \
&& chmod 700 /var/certs \
&& chmod +r /var/watch
# labels
@ -46,8 +46,8 @@ ENV LR_DELAY=500
COPY [ "livereload.js", "/home/node/livereload.js" ]
COPY [ "entrypoint.sh", "/usr/local/bin/entrypoint.sh" ]
RUN chown node:node /home/node/livereload.js \
chmod 644 /home/node/livereload.js \
chmod 755 /usr/local/bin/entrypoint.sh
&& chmod 644 /home/node/livereload.js \
&& chmod 755 /usr/local/bin/entrypoint.sh
USER node
WORKDIR /home/node
RUN mkdir -p .npm-global/bin .npm-global/lib \