icebear0828 Claude Opus 4.6 commited on
Commit
365b839
·
1 Parent(s): 701ca45

fix: copy scripts/ before npm ci for postinstall to find setup-curl.ts

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -2
Dockerfile CHANGED
@@ -8,8 +8,9 @@ RUN apt-get update && \
8
 
9
  WORKDIR /app
10
 
11
- # 1) Backend deps (postinstall downloads curl-impersonate for Linux)
12
- COPY package*.json ./
 
13
  RUN npm ci
14
 
15
  # Fail fast if curl-impersonate wasn't downloaded
 
8
 
9
  WORKDIR /app
10
 
11
+ # 1) Backend deps (postinstall runs tsx scripts/setup-curl.ts)
12
+ COPY package*.json tsconfig.json ./
13
+ COPY scripts/ scripts/
14
  RUN npm ci
15
 
16
  # Fail fast if curl-impersonate wasn't downloaded