Spaces:
Runtime error
Runtime error
SherlockRamos
commited on
Commit
•
1e93260
1
Parent(s):
b6db600
Update Dockerfile
Browse files- Dockerfile +1 -8
Dockerfile
CHANGED
@@ -1,13 +1,6 @@
|
|
1 |
-
# requirements.txt
|
2 |
-
flask==2.0.1
|
3 |
-
gunicorn==20.1.0
|
4 |
-
numpy==1.21.2
|
5 |
-
pandas==1.3.3
|
6 |
-
sqlalchemy==1.4.22
|
7 |
-
# Dockerfile
|
8 |
FROM python:3.8-slim
|
9 |
WORKDIR /app
|
10 |
COPY . /app
|
11 |
-
RUN
|
12 |
EXPOSE 5000
|
13 |
CMD ["gunicorn", "-b", "0.0.0.0:5000", "app:app"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
FROM python:3.8-slim
|
2 |
WORKDIR /app
|
3 |
COPY . /app
|
4 |
+
RUN pip install --upgrade pip && pip install -r requirements.txt
|
5 |
EXPOSE 5000
|
6 |
CMD ["gunicorn", "-b", "0.0.0.0:5000", "app:app"]
|