diff --git a/tilt/vre-panel/Dockerfile b/tilt/vre-panel/Dockerfile index 761da34..9f7660c 100644 --- a/tilt/vre-panel/Dockerfile +++ b/tilt/vre-panel/Dockerfile @@ -1,4 +1,4 @@ -FROM node:20-alpine3.16 +FROM node:22-alpine ARG NODE_ENV=test ENV NODE_ENV $NODE_ENV diff --git a/tilt/vreapis/Dockerfile b/tilt/vreapis/Dockerfile index 3d9a92c..788d551 100644 --- a/tilt/vreapis/Dockerfile +++ b/tilt/vreapis/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.12.2-slim +FROM python:3.12.5-slim WORKDIR /app diff --git a/vre-panel/Dockerfile b/vre-panel/Dockerfile index 471eba0..e19dbe6 100644 --- a/vre-panel/Dockerfile +++ b/vre-panel/Dockerfile @@ -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 @@ -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 @@ -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 diff --git a/vreapis/Dockerfile b/vreapis/Dockerfile index 9c730e6..8138b78 100644 --- a/vreapis/Dockerfile +++ b/vreapis/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.12.2-slim +FROM python:3.12.5-slim WORKDIR /app