Spaces:
Runtime error
Runtime error
samuel-moreira
commited on
Commit
•
c156d94
1
Parent(s):
b9a69cb
Update Dockerfile
Browse files- Dockerfile +12 -10
Dockerfile
CHANGED
@@ -1,11 +1,13 @@
|
|
1 |
-
FROM python:3.11
|
2 |
-
|
3 |
-
WORKDIR /app
|
4 |
-
|
5 |
-
COPY requirements.txt .
|
6 |
-
RUN pip install --no-cache-dir -r requirements.txt
|
7 |
-
RUN pip install gunicorn
|
8 |
-
|
9 |
-
COPY . .
|
10 |
-
|
|
|
|
|
11 |
CMD ["gunicorn", "-w", "4", "-b", "0.0.0.0:5000", "app:app"]
|
|
|
1 |
+
FROM python:3.11
|
2 |
+
|
3 |
+
WORKDIR /app
|
4 |
+
|
5 |
+
COPY requirements.txt .
|
6 |
+
RUN pip install --no-cache-dir -r requirements.txt
|
7 |
+
RUN pip install gunicorn
|
8 |
+
|
9 |
+
COPY . .
|
10 |
+
|
11 |
+
EXPOSE 80
|
12 |
+
|
13 |
CMD ["gunicorn", "-w", "4", "-b", "0.0.0.0:5000", "app:app"]
|