We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 99957a2 commit 9bcab57Copy full SHA for 9bcab57
Dockerfile
@@ -0,0 +1,10 @@
1
+FROM python:2.7
2
+RUN mkdir -p /usr/src/app
3
+WORKDIR /usr/src/app
4
+COPY requirements.txt /usr/src/app/
5
+RUN pip install --no-cache-dir -r requirements.txt
6
+COPY . /usr/src/app
7
+ENV PORT 8080
8
+EXPOSE $PORT
9
+VOLUME ["/app-data"]
10
+CMD gunicorn -b : -c gunicorn.conf.py main:app
0 commit comments