set up docker image

This commit is contained in:
2022-06-03 08:48:17 -05:00
parent 1164e1e66c
commit 6577fe4396
5 changed files with 40 additions and 61 deletions

View File

@@ -1,3 +1,7 @@
#!/bin/bash
poetry run gunicorn -b "127.0.0.1:8050" "wordlinator.web:server"
RELOAD=""
if $DEBUG; then
RELOAD="--reload"
fi
poetry run gunicorn $RELOAD -b "0.0.0.0:8050" "wordlinator.web:server"