diff --git a/backend/Dockerfile b/backend/Dockerfile index caf5ae87a..b82b75756 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -1,5 +1,6 @@ FROM artifacts.developer.gov.bc.ca/docker-remote/node:18.16.0-alpine3.18 +ENV npm_config_cache /tmp/npm RUN mkdir -p /logs RUN chmod 755 /logs @@ -11,8 +12,4 @@ RUN npm ci COPY . /opt/app-root/src EXPOSE 443 8080 - -RUN chgrp -R 0 /tmp/npm && \ - chmod -R g=u /tmp/npm - CMD ["npm", "start"]