mirror of
https://github.com/versia-pub/server.git
synced 2026-04-27 20:59:15 +02:00
Fix docker build
This commit is contained in:
parent
dc17cffd75
commit
bfd394c21e
4 changed files with 4 additions and 39 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue