Skip to content

Commit

Permalink
upgrade to node 22
Browse files Browse the repository at this point in the history
  • Loading branch information
mishraomp authored Nov 25, 2024
1 parent e529514 commit e0b5d73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:20.18.1-bullseye-slim AS build
FROM node:22-bullseye-slim AS build

# Install packages, build and keep only prod packages
WORKDIR /app
Expand All @@ -11,7 +11,7 @@ RUN npm run build

# Deploy container
# Distroless has node, but not npm
FROM gcr.io/distroless/nodejs20-debian11:nonroot
FROM gcr.io/distroless/nodejs22-debian12:nonroot
ENV NODE_ENV=production

# Copy over app
Expand Down

0 comments on commit e0b5d73

Please sign in to comment.