diff --git a/Dockerfile b/Dockerfile index 0bccc3b2..1863a161 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # build environment -FROM --platform=$BUILDPLATFORM node:16.15.0-alpine3.15 as build-stage +FROM --platform=$BUILDPLATFORM node:16.20.2-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:16.15.0-alpine3.15 as dependency-stage +FROM node:16.20.2-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:16.15.0-alpine3.15 as production-stage +FROM node:16.20.2-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 0ef40f49..91007f3c 100644 --- a/Dockerfile.web +++ b/Dockerfile.web @@ -1,5 +1,5 @@ # build environment -FROM --platform=$BUILDPLATFORM node:16.15.0-alpine3.15 as build-stage +FROM --platform=$BUILDPLATFORM node:16.20.2-alpine3.18 as build-stage RUN mkdir /app && chown -R node:node /app WORKDIR /app RUN apk add --no-cache python3 make g++