We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b40ff09 commit d5d9127Copy full SHA for d5d9127
Dockerfile
@@ -9,6 +9,7 @@ ENV PYTHONUNBUFFERED 1
9
COPY requirements.txt .
10
RUN pip install --upgrade pip
11
RUN pip install --no-cache-dir -r requirements.txt
12
+RUN pip install --no-cache-dir gunicorn==23.0.0
13
COPY . /app
14
15
EXPOSE 5000
entrypoint.sh
@@ -8,4 +8,4 @@ while true; do
8
echo Deploy command failed, retrying in 5 secs...
sleep 5
done
-flask run -h 0.0.0.0
+gunicorn -b :5000 app:app
0 commit comments