Run hockey app
This commit is contained in:
parent
87edfb0965
commit
5279407a5b
@ -12,7 +12,7 @@ ADD requirements.txt /tmp/requirements.txt
|
|||||||
|
|
||||||
RUN apk update && \
|
RUN apk update && \
|
||||||
apk -U upgrade --ignore alpine-baselayout && \
|
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 && \
|
adduser -D python && \
|
||||||
pip3 install -r /tmp/requirements.txt && \
|
pip3 install -r /tmp/requirements.txt && \
|
||||||
rm -rf /tmp/src && rm -rf /var/cache/apk/* && rm -f /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
|
#USER python
|
||||||
|
|
||||||
CMD [ "/usr/bin/flask", "run", "--host=0.0.0.0", "--port=3000" ]
|
CMD [ "/usr/bin/python3", "/data/main/py" ]
|
||||||
|
|||||||
@ -1,25 +1,10 @@
|
|||||||
attrs
|
|
||||||
bcrypt
|
|
||||||
cffi
|
|
||||||
click
|
|
||||||
Flask
|
Flask
|
||||||
Flask-Bootstrap
|
|
||||||
Flask-Bcrypt
|
|
||||||
Flask-Login
|
|
||||||
Flask-SQLAlchemy
|
|
||||||
Flask-WTF
|
|
||||||
itsdangerous
|
|
||||||
Jinja2
|
|
||||||
MarkupSafe
|
|
||||||
pluggy
|
|
||||||
py
|
|
||||||
pycparser
|
|
||||||
pytest
|
|
||||||
six
|
|
||||||
SQLAlchemy
|
|
||||||
Werkzeug
|
Werkzeug
|
||||||
WTForms
|
email-validator
|
||||||
WTForms-Components
|
|
||||||
pymysql_sa
|
|
||||||
Flask-pymysql
|
|
||||||
flask_table
|
flask_table
|
||||||
|
flask-mysql
|
||||||
|
flask_login
|
||||||
|
Flask-BasicAuth
|
||||||
|
Flask-Bootstrap
|
||||||
|
flask_wtf
|
||||||
|
wtforms_components
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user