From cb81c4f20b6a7f270dc1581e5d8329625df53e2a Mon Sep 17 00:00:00 2001 From: Alie Date: Thu, 12 Dec 2024 12:58:38 +0100 Subject: [PATCH] update dockerfile --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index fad568b..398be2c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,9 @@ -FROM --platform=$BUILDPLATFORM node:23-alpine AS install +FROM --platform=$BUILDPLATFORM node:23.4-alpine AS install RUN mkdir -p /temp/prod COPY package*.json /temp/prod/ RUN cd /temp/prod && npm install --frozen-lockfile COPY . /temp/prod/ RUN cd /temp/prod && npm run build -FROM nginx:1-alpine3.20-slim AS release +FROM nginx:1.27.3-alpine3.20-slim AS release COPY --from=install /temp/prod/dist /usr/share/nginx/html