Run hockey app

This commit is contained in:
Jonathan Ervine
2020-11-26 11:20:44 +08:00
parent 87edfb0965
commit 5279407a5b
2 changed files with 9 additions and 24 deletions
+2 -2
View File
@@ -12,7 +12,7 @@ ADD requirements.txt /tmp/requirements.txt
RUN apk update && \
apk -U upgrade --ignore alpine-baselayout && \
apk -U add python3 gcc python3-dev musl-dev libffi-dev && \
apk -U add python3 gcc py3-pip python3-dev musl-dev libffi-dev git && \
adduser -D python && \
pip3 install -r /tmp/requirements.txt && \
rm -rf /tmp/src && rm -rf /var/cache/apk/* && rm -f /tmp/requirements.txt
@@ -21,4 +21,4 @@ EXPOSE 3000
#USER python
CMD [ "/usr/bin/flask", "run", "--host=0.0.0.0", "--port=3000" ]
CMD [ "/usr/bin/python3", "/data/main/py" ]