diff --git a/tilt/vre-panel/Dockerfile b/tilt/vre-panel/Dockerfile index 9f7660c..251c74e 100644 --- a/tilt/vre-panel/Dockerfile +++ b/tilt/vre-panel/Dockerfile @@ -1,4 +1,4 @@ -FROM node:22-alpine +FROM node:23-alpine ARG NODE_ENV=test ENV NODE_ENV $NODE_ENV diff --git a/vre-panel/Dockerfile b/vre-panel/Dockerfile index e19dbe6..56e6fd4 100644 --- a/vre-panel/Dockerfile +++ b/vre-panel/Dockerfile @@ -1,5 +1,5 @@ # Install dependencies only when needed -FROM node:22-alpine AS deps +FROM node:23-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 @@ -12,7 +12,7 @@ RUN npm install RUN npm ci # Rebuild the source code only when needed -FROM node:22-alpine AS builder +FROM node:23-alpine AS builder ARG NODE_ENV WORKDIR /app COPY --from=deps /app/node_modules ./node_modules @@ -29,7 +29,7 @@ COPY . . RUN npm run build # Production image, copy all the files and run next -FROM node:22-alpine AS runner +FROM node:23-alpine AS runner WORKDIR /app ENV NODE_ENV production