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 ----