From 78bdd7054d96d539ee6e3b39ed464903b0599094 Mon Sep 17 00:00:00 2001 From: z30057876 Date: Mon, 12 May 2025 09:52:34 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0Dockerfile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy/prod/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deploy/prod/Dockerfile b/deploy/prod/Dockerfile index a01ebb90..43f3cbf5 100644 --- a/deploy/prod/Dockerfile +++ b/deploy/prod/Dockerfile @@ -1,7 +1,8 @@ -FROM node:18.20.6-alpine +FROM node:22.14.0-alpine WORKDIR /opt/eulerCopilot-web COPY . . +ENV ELECTRON_MIRROR="https://npmmirror.com/mirrors/electron/" RUN npm install pnpm -g --registry=https://registry.npmmirror.com && \ pnpm install --registry=https://registry.npmmirror.com && \ pnpm run build -- Gitee