fix: copy scripts/ before npm ci to satisfy postinstall hook

This commit is contained in:
WildDragon Deploy 2026-05-27 23:42:11 -04:00
parent 2ad727b4d4
commit 25cd89c37e

View file

@ -11,8 +11,9 @@ RUN npm install -g @anthropic-ai/claude-code task-master-ai
WORKDIR /app
# Install dependencies (separate layer for cache efficiency)
# Copy package files and scripts needed for postinstall hooks
COPY package*.json ./
COPY scripts/ ./scripts/
RUN npm ci
# VITE_ vars must be present at build time (baked into frontend bundle)