Skip to content

Commit

Permalink
chore(deps): update node.js to v22
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored Nov 13, 2024
1 parent 448d2e9 commit ae38046
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/backend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Install dependencies only when needed
FROM docker.io/node:20-alpine AS deps
FROM docker.io/node:22-alpine AS deps
# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed.
RUN apk add --no-cache libc6-compat
WORKDIR /usr/src/app
COPY package*.json ./
RUN npm install --omit=dev

# Production image, copy all the files and run nest
FROM docker.io/node:20-alpine AS runner
FROM docker.io/node:22-alpine AS runner
RUN apk add --no-cache dumb-init curl
ENV NODE_ENV=production
ENV PORT=3000
Expand Down

0 comments on commit ae38046

Please sign in to comment.