From 576e60a2b52315909e659d2a58cf98b130e69e6f Mon Sep 17 00:00:00 2001 From: xiaojunnuo Date: Fri, 8 Nov 2024 14:14:21 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=9F=90=E4=BA=9B?= =?UTF-8?q?=E5=AE=B9=E5=99=A8=E7=AE=A1=E7=90=86ui=E6=97=A0=E6=B3=95?= =?UTF-8?q?=E8=AF=86=E5=88=AB=E7=AB=AF=E5=8F=A3=E5=88=97=E8=A1=A8=E7=9A=84?= =?UTF-8?q?bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/ui/Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/ui/Dockerfile b/packages/ui/Dockerfile index ec97ed9f..a58e2599 100644 --- a/packages/ui/Dockerfile +++ b/packages/ui/Dockerfile @@ -1,5 +1,4 @@ -FROM node:18-alpine AS builder -EXPOSE 7001 +FROM node:20-alpine AS builder WORKDIR /workspace/ COPY . /workspace/ # armv7 目前只能用node18, pnpm9不支持node18,所以pnpm只能用8.15.7版本 @@ -10,7 +9,9 @@ RUN npm install -g pnpm@8.15.7 RUN cp /workspace/certd-client/dist/* /workspace/certd-server/public/ -rf RUN cd /workspace/certd-server && pnpm install && npm run build-on-docker -FROM node:18-alpine +FROM node:20-alpine +EXPOSE 7001 +EXPOSE 7002 RUN apk add --no-cache openssl RUN apk add --no-cache openjdk8 WORKDIR /app/