Skip to content

Commit

Permalink
Merge pull request #133 from DTS-STN/dockerfile
Browse files Browse the repository at this point in the history
upgrade node image
  • Loading branch information
Fbasham authored Nov 10, 2023
2 parents bd5339b + 0de7aa2 commit 020d9bf
Show file tree
Hide file tree
Showing 3 changed files with 1,698 additions and 2,107 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18.17-alpine3.18 AS base
FROM node:20-bookworm-slim AS base
WORKDIR /base
COPY package*.json ./
RUN npm ci && npm cache clean --force
Expand All @@ -21,7 +21,7 @@ WORKDIR /build
COPY --from=base /base ./
RUN npm run build

FROM node:18.17-alpine3.18 AS production
FROM node:20-bookworm-slim AS production

# Runtime envs -- will default to build args if no env values are specified at docker run
# ARG ENV_EXAMPLE
Expand Down
Loading

0 comments on commit 020d9bf

Please sign in to comment.