hanbinsite commited on
Commit
328d3a0
·
1 Parent(s): 5e8f37b

fix: use --ignore-scripts then pnpm rebuild to bypass pnpm 11 build policy

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -1
Dockerfile CHANGED
@@ -11,7 +11,10 @@ WORKDIR /app
11
  # Copy package files first for layer caching
12
  COPY package.json pnpm-lock.yaml ./
13
 
14
- RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile
 
 
 
15
 
16
  # Copy source files
17
  COPY . .
 
11
  # Copy package files first for layer caching
12
  COPY package.json pnpm-lock.yaml ./
13
 
14
+ # Install all deps, allow build scripts explicitly
15
+ RUN --mount=type=cache,id=pnpm,target=/pnpm/store \
16
+ pnpm install --frozen-lockfile --ignore-scripts && \
17
+ pnpm rebuild @parcel/watcher esbuild vue-demi
18
 
19
  # Copy source files
20
  COPY . .