fix: worker waits for schema before claiming; npm ci for reproducible builds

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Jonathan
2026-07-10 17:32:20 +02:00
parent 52a0999f9b
commit 7532e20d1e
4 changed files with 46 additions and 3 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ RUN apt-get update && apt-get install -y openssl && rm -rf /var/lib/apt/lists/*
COPY package.json package-lock.json* ./
# Copy schema before install so package.json's postinstall (prisma generate) can run
COPY prisma ./prisma
RUN npm install
RUN npm ci
COPY . .
RUN npx prisma generate && npm run build