Skip to content

Commit

Permalink
hotfix for docker
Browse files Browse the repository at this point in the history
  • Loading branch information
soletsdev committed Feb 26, 2024
1 parent 7b67305 commit 2e9ff9b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions api/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
FROM artifacts.developer.gov.bc.ca/docker-remote/node:lts-alpine3.13

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

RUN mkdir -p /logs
RUN chmod 755 /logs

Expand All @@ -15,4 +11,4 @@ RUN npm ci
COPY . /api
RUN npm run build
EXPOSE 443 3000
CMD ["npm", "start"]
CMD ["node", "--max-old-space-size=250", "-r module-alias/register", "./dist/src/report-generation-application.js"]

0 comments on commit 2e9ff9b

Please sign in to comment.