diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..269cad3 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,10 @@ +FROM python:3 + +WORKDIR /usr/src/app +COPY . . + +RUN pip install --no-cache-dir -r requirements.txt + +EXPOSE 5000 + +CMD ["./run.sh"] diff --git a/run.sh b/run.sh index 25460ba..1fa5273 100755 --- a/run.sh +++ b/run.sh @@ -11,4 +11,4 @@ pkill flask # TODO: Set up the following for running over https #--cert=./app/cert.pem --key=./app/key.pem -$SCRIPT_DIR/venv/bin/flask run +flask run --host="0.0.0.0"