Fix docker build

This commit is contained in:
Jesse Wierzbinski 2024-04-09 01:17:53 -10:00
parent dc17cffd75
commit bfd394c21e
No known key found for this signature in database
4 changed files with 4 additions and 39 deletions

View file

@ -15,7 +15,8 @@ cd /app/dist
case "$1" in
"start")
# Migrate the database and run
/bin/bash /app/entrypoint.sh prisma migrate deploy && bun run ./index.js --prod
/bin/bash /app/entrypoint.sh prisma migrate deploy
NITRO_PORT=5173 bun run dist/frontend/server/index.mjs & NODE_ENV=production bun run dist/index.js --prod
;;
"cli")
# Start the CLI