mirror of
https://github.com/jason5ng32/MyIP.git
synced 2026-11-04 08:55:47 +00:00
Improvements
This commit is contained in:
1 parent
6f02a21fe6
commit
f740c18c81
2 files changed
+5
No files matched your search
@@ -13,6 +13,7 @@ package-lock.json
|
||||
.DS_Store
|
||||
.env
|
||||
*.log
|
||||
scripts/
|
||||
npm-debug.log*
|
||||
yarn-debug.log*
|
||||
pnpm-debug.log*
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user