Added basic docker setup

pull/9/head
Ben Busby 4 years ago
parent 08a8a3e064
commit d88b3904ff

@ -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"]

@ -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"

Loading…
Cancel
Save