Skip to content

Commit

Permalink
upgrade node image
Browse files Browse the repository at this point in the history
  • Loading branch information
Fbasham committed Nov 9, 2023
1 parent bd5339b commit 0de7aa2
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 0de7aa2

Please sign in to comment.