Dockerfile und prisma client

This commit is contained in:
titver968
2025-04-22 11:40:18 +02:00
parent a583eee001
commit c82cb27033
2 changed files with 2 additions and 0 deletions

View File

@@ -6,6 +6,7 @@ WORKDIR /app
COPY package*.json ./
RUN npm ci
COPY . ./
RUN npx prisma generate
RUN npm run build
# --- Production stage ---

View File

@@ -1,5 +1,6 @@
generator client {
provider = "prisma-client-js"
binaryTargets = ["darwin-arm64", "linux-arm64-openssl-3.0.x", "debian-openssl-3.0.x"]
output = "../node_modules/.prisma/client"
}