From 9ee212fcef148c800d2aec2d0bef950713863e77 Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Thu, 22 Jul 2021 17:38:43 -0600 Subject: [PATCH] fix(dockerfile): fix minor bugs stopping build --- build/Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build/Dockerfile b/build/Dockerfile index 0d74430..3484daf 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -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 \