This commit is contained in:
Leo Wen
2025-12-10 13:54:20 -08:00
parent 0d52090682
commit a29a8c1f3c
3 changed files with 229 additions and 2 deletions
+2 -2
View File
@@ -58,5 +58,5 @@ ENV PORT=4000
# Expose port
EXPOSE 4000
# Run database migrations and start the application
CMD ["sh", "-c", "bunx prisma migrate deploy && bun run src/index.ts"]
# Push schema to database and start the application
CMD ["sh", "-c", "bunx prisma db push --accept-data-loss && bun run src/index.ts"]