From 28c89f53af18d9db51874670cb37e8eeeb4d667f Mon Sep 17 00:00:00 2001 From: BobDu Date: Sat, 2 Mar 2024 18:21:43 +0800 Subject: [PATCH] chore: fixed docker base version 20-alpine Signed-off-by: BobDu --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index cf0b8d50..bd457e90 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # build front-end -FROM node:lts-alpine AS frontend +FROM node:20-alpine AS frontend ARG GIT_COMMIT_HASH=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx ARG RELEASE_VERSION=v0.0.0 @@ -22,7 +22,7 @@ COPY . /app RUN pnpm run build # build backend -FROM node:lts-alpine as backend +FROM node:20-alpine as backend RUN npm install pnpm -g @@ -39,7 +39,7 @@ COPY /service /app RUN pnpm build # service -FROM node:lts-alpine +FROM node:20-alpine RUN npm install pnpm -g