fix: update Dockerfile to run database migrations on startup and clean up package.json dependencies
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user