diff --git a/Dockerfile b/Dockerfile index a0f69147..283ac4f6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # build environment -FROM --platform=$BUILDPLATFORM node:20.8.1-alpine3.18 as build-stage +FROM --platform=$BUILDPLATFORM node:22.2.0-alpine3.18 as build-stage RUN mkdir /app && chown -R node:node /app WORKDIR /app RUN apk add --no-cache python3 make g++ @@ -13,7 +13,7 @@ ARG VERSION RUN npm run build # dependency environment -FROM node:20.8.1-alpine3.18 as dependency-stage +FROM node:22.2.0-alpine3.18 as dependency-stage RUN mkdir /app && chown -R node:node /app WORKDIR /app RUN apk add --no-cache python3 make g++ @@ -23,7 +23,7 @@ RUN SKIP_BUILD=true npm ci RUN npm prune --production # production environment -FROM node:20.8.1-alpine3.18 as production-stage +FROM node:22.2.0-alpine3.18 as production-stage RUN mkdir /app && chown -R node:node /app WORKDIR /app RUN apk add --no-cache tini diff --git a/Dockerfile.web b/Dockerfile.web index a78c840c..3aebd718 100644 --- a/Dockerfile.web +++ b/Dockerfile.web @@ -1,5 +1,5 @@ # build environment -FROM --platform=$BUILDPLATFORM node:20.8.1-alpine3.18 as build-stage +FROM --platform=$BUILDPLATFORM node:22.2.0-alpine3.18 as build-stage RUN mkdir /app && chown -R node:node /app WORKDIR /app RUN apk add --no-cache python3 make g++