From 029a7ee7d39d1fea2f428ecaed5b66e6485b924f Mon Sep 17 00:00:00 2001 From: Riccardo Senica Date: Sun, 1 Feb 2026 13:07:37 +0100 Subject: [PATCH] build: push prisma schema --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 81a8d48..c16fdd4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,7 +17,8 @@ ENV NODE_ENV=production COPY --from=builder /app/.next ./.next COPY --from=builder /app/node_modules ./node_modules COPY --from=builder /app/package.json ./package.json +COPY --from=builder /app/prisma ./prisma EXPOSE 3000 -CMD ["npm", "start"] \ No newline at end of file +CMD npx prisma db push --skip-generate && npm start \ No newline at end of file