fix: correr prisma migrate deploy al arrancar el servidor

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Lizandro Guarnizo
2026-06-27 18:29:56 -05:00
co-authored by Claude Sonnet 4.6
parent c1e9dba2d1
commit f2bd710694
+1 -1
View File
@@ -13,4 +13,4 @@ COPY --from=builder /app/node_modules ./node_modules
COPY --from=builder /app/package.json ./
COPY --from=builder /app/prisma ./prisma
EXPOSE 3001
CMD ["node", "dist/main.js"]
CMD ["sh", "-c", "npx prisma migrate deploy && node dist/main.js"]