This commit is contained in:
2025-06-08 23:50:09 +09:00
parent be9ff546a4
commit bed0af6044

View File

@ -36,4 +36,4 @@ HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
CMD bun -e "fetch('http://localhost:3000').then(() => process.exit(0)).catch(() => process.exit(1))" CMD bun -e "fetch('http://localhost:3000').then(() => process.exit(0)).catch(() => process.exit(1))"
# Start both servers with proper process management # Start both servers with proper process management
CMD ["sh", "-c", "bun run /app/server.ts & bun run /app/admin-server.ts & wait"] CMD ["sh", "-c", "bun run /app/server.ts & (wait 10 && bun run /app/admin-server.ts) & wait"]