We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d526325 commit e300404Copy full SHA for e300404
var/docker/Dockerfile
@@ -0,0 +1,13 @@
1
+FROM python:3.9.2-alpine3.13
2
+
3
+ADD requirements.txt /
4
+COPY dist/mrmat-python-api-flask-*.tar.gz /
5
+RUN \
6
+ pip install gunicorn \
7
+ && pip install -r /requirements.txt \
8
+ && pip install /mrmat-python-api-flask-*.tar.gz \
9
+ && rm -f /requirements.txt /mrmat-python-api-flask-*.tar.gz
10
11
+USER 1000:1000
12
+EXPOSE 8080
13
+ENTRYPOINT gunicorn -w 4 -b 0.0.0.0:8080 mrmat_python_api_flask.app:app
0 commit comments