Run hockey app
This commit is contained in:
+2
-2
@@ -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" ]
|
||||
|
||||
Reference in New Issue
Block a user