Improvements

This commit is contained in:
jason5ng32 committed 2026-07-17 15:45:05 +08:00
1 parent 6f02a21fe6
commit f740c18c81
2 files changed
+5

No files matched your search

+1
View File
@@ -13,6 +13,7 @@ package-lock.json
.DS_Store
.env
*.log
scripts/
npm-debug.log*
yarn-debug.log*
pnpm-debug.log*
+4
View File
@@ -3,6 +3,10 @@ FROM node:24-alpine AS build-stage
# corepack ships with the node image and provisions pnpm at the version pinned
# by the `packageManager` field in package.json — no global npm install needed.
RUN corepack enable
# node-gyp toolchain for native deps without musl prebuilds (node-pty, pulled
# in by the code-inspector dev plugin) — build stage only, the production
# stage below stays toolchain-free.
RUN apk add --no-cache python3 make g++
WORKDIR /app
# Copy the manifests first so this layer (and the install below) stays cached
# unless dependencies actually change. pnpm-workspace.yaml carries the