chore: add restart policies and document prisma copy step
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -2,6 +2,7 @@ FROM node:22-slim AS build
|
||||
WORKDIR /app
|
||||
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
|
||||
COPY . .
|
||||
|
||||
Reference in New Issue
Block a user