Docker config

This commit is contained in:
Eden Kirin
2023-04-21 11:27:48 +02:00
parent 53dbc47553
commit 82259f4522
4 changed files with 53 additions and 10 deletions

View File

@ -1,9 +1,9 @@
#!/bin/sh
echo "Hello world!"
echo "Starting FairHopper game server"
echo "Press [CTRL+C] to stop.."
while :
do
sleep 1
done
uvicorn \
main:app \
--host 0.0.0.0 \
--port ${FAIRHOPPER_API_PORT} \
--workers=1