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