mirror of
https://github.com/DrizzleTime/Foxel.git
synced 2026-07-07 23:31:52 +08:00
chore(deploy): serve SPA without nginx and slim docker image
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
python migrate/run.py
|
||||
nginx -g 'daemon off;' &
|
||||
exec gunicorn -k uvicorn.workers.UvicornWorker -w 1 -b 0.0.0.0:8000 main:app
|
||||
exec gunicorn -k uvicorn.workers.UvicornWorker -w 1 -b 0.0.0.0:80 main:app
|
||||
|
||||
Reference in New Issue
Block a user