Spaces:
Runtime error
Runtime error
fschwartzer
commited on
Commit
•
00bc47f
1
Parent(s):
16535b1
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
# Use an official Python runtime as a parent image
|
2 |
-
FROM python:3.8-
|
3 |
|
4 |
# Set the working directory in the container
|
5 |
WORKDIR /app
|
@@ -17,4 +17,4 @@ EXPOSE 5000
|
|
17 |
ENV NAME World
|
18 |
|
19 |
# Run app.py when the container launches
|
20 |
-
CMD ["gunicorn", "-b", "0.0.0.0:5000", "--
|
|
|
1 |
# Use an official Python runtime as a parent image
|
2 |
+
FROM python:3.8-alpine
|
3 |
|
4 |
# Set the working directory in the container
|
5 |
WORKDIR /app
|
|
|
17 |
ENV NAME World
|
18 |
|
19 |
# Run app.py when the container launches
|
20 |
+
CMD ["gunicorn", "-b", "0.0.0.0:5000", "--log-level", "debug", "app:app"]
|