Fix seeder Dockerfile: remove --ignore-scripts from npm ci

The --ignore-scripts flag prevented esbuild (used by tsx) from
downloading its platform binary, causing the seed scripts to
fail with exit 1 in the Docker container.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Dorian
2026-02-12 12:52:12 +00:00
parent 42bd54783a
commit 33190afd08

View File

@@ -7,9 +7,9 @@ FROM node:20-alpine
WORKDIR /app
# Install dependencies
# Install dependencies (need full install so tsx/esbuild get their binaries)
COPY package*.json ./
RUN npm ci --ignore-scripts
RUN npm ci
# Copy only what the seed scripts need
COPY scripts/ ./scripts/