Skip to content

Commit

Permalink
Merge pull request #721 from DTS-STN/GjB/update-dockerfile
Browse files Browse the repository at this point in the history
Revert node version to 20.x
  • Loading branch information
gregory-j-baker authored Sep 9, 2024
2 parents 7d7c6e6 + 2c37802 commit 73e5753
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM node:22.7.0-bookworm-slim AS base
ARG BASE_IMAGE=docker.io/node:20.17.0-bookworm-slim
FROM $BASE_IMAGE AS base

# Install dependencies only when needed
FROM base AS deps
Expand Down Expand Up @@ -56,4 +57,4 @@ EXPOSE 3000

ENV PORT 3000

CMD npm run start
CMD ["npm", "run", "start"]

0 comments on commit 73e5753

Please sign in to comment.