Skip to content

Commit

Permalink
Updates for NPM issue
Browse files Browse the repository at this point in the history
  • Loading branch information
arcshiftsolutions committed Jan 16, 2024
1 parent f9ee7c1 commit 35ffc20
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions backend/Dockerfile
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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"]

0 comments on commit 35ffc20

Please sign in to comment.