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:
@@ -7,9 +7,9 @@ FROM node:20-alpine
|
|||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
# Install dependencies
|
# Install dependencies (need full install so tsx/esbuild get their binaries)
|
||||||
COPY package*.json ./
|
COPY package*.json ./
|
||||||
RUN npm ci --ignore-scripts
|
RUN npm ci
|
||||||
|
|
||||||
# Copy only what the seed scripts need
|
# Copy only what the seed scripts need
|
||||||
COPY scripts/ ./scripts/
|
COPY scripts/ ./scripts/
|
||||||
|
|||||||
Reference in New Issue
Block a user