Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
roblo-cgi authored Nov 15, 2023
1 parent d4d356f commit 9f420ac
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ FROM artifacts.developer.gov.bc.ca/docker-remote/node:16.20.0-alpine3.18
ENV NPM_CONFIG_CACHE /tmp/npm
RUN mkdir -p /logs \
&& chmod 755 /logs
RUN mkdir -p /tmp/npm \
&& chmod -R 777 /tmp/npm

WORKDIR /opt/app-root/src
RUN ln -s /logs .
Expand All @@ -23,5 +21,8 @@ ENV CHROME_BIN=/usr/bin/chromium-browser \
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true \
GHOSTSCRIPT_PATH=/usr/bin/gs

RUN mkdir -p /tmp/npm \
&& chmod -R 777 /tmp/npm

EXPOSE 443 8080
CMD ["npm", "start"]

0 comments on commit 9f420ac

Please sign in to comment.