fix: copy scripts/ before npm ci to satisfy postinstall hook
This commit is contained in:
parent
2ad727b4d4
commit
25cd89c37e
1 changed files with 2 additions and 1 deletions
|
|
@ -11,8 +11,9 @@ RUN npm install -g @anthropic-ai/claude-code task-master-ai
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
# Install dependencies (separate layer for cache efficiency)
|
# Copy package files and scripts needed for postinstall hooks
|
||||||
COPY package*.json ./
|
COPY package*.json ./
|
||||||
|
COPY scripts/ ./scripts/
|
||||||
RUN npm ci
|
RUN npm ci
|
||||||
|
|
||||||
# VITE_ vars must be present at build time (baked into frontend bundle)
|
# VITE_ vars must be present at build time (baked into frontend bundle)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue