From 0259b812ea06afb317f420d9f09db6bc2a27fd21 Mon Sep 17 00:00:00 2001 From: s1lvax Date: Fri, 11 Oct 2024 11:16:31 +0200 Subject: [PATCH] prisma --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 93d3b39..730cf94 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,10 +7,12 @@ RUN npm install -g pnpm # Copy package files and install dependencies COPY package*.json ./ +COPY prisma ./prisma/ RUN pnpm install # Copy the rest of the files and build the application COPY . . +RUN npx prisma generate RUN pnpm run build # Prune development dependencies