Skip to content

Commit

Permalink
start.sh: fix issue when running in docker
Browse files Browse the repository at this point in the history
  • Loading branch information
hcincera committed Feb 25, 2024
1 parent 2cd6846 commit 541002a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ fi

if [ -f /.dockerenv ] ; then
export PORT=80
pipenv run ./start.sh --use-system-packages
exit
python3 -m flask --app app/app.py init-db
python3 -m flask --app app/app.py run --host=0.0.0.0 --port=$PORT

else
export PORT=8069
fi
Expand Down

0 comments on commit 541002a

Please sign in to comment.