fix: update Dockerfile to run database migrations on startup and clean up package.json dependencies

This commit is contained in:
Thibault Pouch
2026-03-26 10:41:02 +01:00
parent 5268e7618b
commit 0899ba1bc9
2 changed files with 2 additions and 2 deletions

View File

@@ -28,4 +28,4 @@ COPY prisma ./prisma
EXPOSE 3000
CMD ["node", "dist/index.js"]
CMD ["sh", "-c", "npx prisma migrate deploy && node dist/index.js"]