From 5ebbb8c1ca69fdbdfd9619053c535d9130055cf0 Mon Sep 17 00:00:00 2001 From: Sakurasan <26715255+Sakurasan@users.noreply.github.com> Date: Mon, 6 Jul 2026 00:01:19 +0800 Subject: [PATCH] up --- .npmrc | 1 + Dockerfile | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.npmrc b/.npmrc index 5e4086a..7912be5 100755 --- a/.npmrc +++ b/.npmrc @@ -1 +1,2 @@ registry=https://registry.npmmirror.com/ +onlyBuiltDependencies[]=esbuild diff --git a/Dockerfile b/Dockerfile index 54c874e..71d507a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,10 +2,9 @@ FROM node:24-alpine AS build WORKDIR /app -COPY package.json pnpm-lock.yaml .npmrc ./ +COPY . . RUN corepack enable && pnpm install -COPY . . RUN pnpm build # ---- Serve stage ----