Refactor Dockerfile and entrypoint.sh for improved backend build process

This commit is contained in:
Jose Selesan
2026-06-01 15:02:06 -03:00
parent 6738db8c60
commit 78df95e985
2 changed files with 10 additions and 15 deletions

View File

@@ -1,5 +1,6 @@
#!/bin/bash
#!/bin/sh
set -e
cd /app/apps/backend
bun --cwd /app/apps/backend prisma migrate deploy
bun --cwd /app/apps/backend prisma generate
bun prisma migrate deploy
bun prisma generate
bun run start