diff --git a/deploy/prod/Dockerfile b/deploy/prod/Dockerfile index a01ebb90a62710c90e3ec406fdda8013ca01fcaf..43f3cbf54277892caf6dc335d5f14640ae57c3e1 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