Skip to content

Commit

Permalink
[docker] Bump node
Browse files Browse the repository at this point in the history
Bumps the vre-panel-docker group with 1 update in the /vre-panel directory: node.


Updates `node` from 21-alpine to 22-alpine

---
updated-dependencies:
- dependency-name: node
  dependency-type: direct:production
  dependency-group: vre-panel-docker
...

Signed-off-by: dependabot[bot] <[email protected]>
  • Loading branch information
dependabot[bot] authored Aug 8, 2024
1 parent afb41e3 commit 161a4f6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions vre-panel/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Install dependencies only when needed
FROM node:21-alpine AS deps
FROM 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 /app
Expand All @@ -12,7 +12,7 @@ RUN npm install
RUN npm ci

# Rebuild the source code only when needed
FROM node:21-alpine AS builder
FROM node:22-alpine AS builder
ARG NODE_ENV
WORKDIR /app
COPY --from=deps /app/node_modules ./node_modules
Expand All @@ -29,7 +29,7 @@ COPY . .
RUN npm run build

# Production image, copy all the files and run next
FROM node:21-alpine AS runner
FROM node:22-alpine AS runner
WORKDIR /app

ENV NODE_ENV production
Expand Down

0 comments on commit 161a4f6

Please sign in to comment.