mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-09-24 16:05:44 +08:00
fix: bridge grok composer image inputs
This commit is contained in:
+4
-2
@@ -18,9 +18,11 @@ ARG GOSUMDB=sum.golang.google.cn
|
||||
FROM ${NODE_IMAGE} AS frontend-builder
|
||||
|
||||
WORKDIR /app/frontend
|
||||
ENV NODE_OPTIONS=--max-old-space-size=1536
|
||||
|
||||
# Install pnpm
|
||||
RUN corepack enable && corepack prepare pnpm@latest --activate
|
||||
# Install pnpm. Keep this pinned to the lockfile-compatible major version so
|
||||
# Docker builds remain reproducible when pnpm changes config validation rules.
|
||||
RUN corepack enable && corepack prepare pnpm@9.15.9 --activate
|
||||
|
||||
# Install dependencies first (better caching)
|
||||
COPY frontend/package.json frontend/pnpm-lock.yaml ./
|
||||
|
||||
Reference in New Issue
Block a user