Skip to content

Commit

Permalink
[docker] Bump node from 20.9.0-alpine3.18 to 21.7.2-alpine3.18
Browse files Browse the repository at this point in the history
Bumps node from 20.9.0-alpine3.18 to 21.7.2-alpine3.18.

---
updated-dependencies:
- dependency-name: node
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
  • Loading branch information
dependabot[bot] authored Apr 10, 2024
1 parent 6227248 commit 02c053e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Step 1: Build the app with node
FROM node:20.9.0-alpine3.18 AS builder
FROM node:21.7.2-alpine3.18 AS builder
WORKDIR /app
COPY package*.json .
RUN npm ci
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.node
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM node:20.9.0-alpine3.18 AS builder
FROM node:21.7.2-alpine3.18 AS builder
WORKDIR /app
COPY package*.json .
RUN npm ci
COPY . .
RUN npm run build
RUN npm ci --omit dev

FROM node:20.9.0-alpine3.18
FROM node:21.7.2-alpine3.18
WORKDIR /app
COPY --from=builder /app/build build/
COPY --from=builder /app/node_modules node_modules/
Expand Down

0 comments on commit 02c053e

Please sign in to comment.