Spaces:
Sleeping
Sleeping
Force upload Dockerfile - 1754763896
Browse files- Dockerfile +4 -8
Dockerfile
CHANGED
|
@@ -1,13 +1,9 @@
|
|
| 1 |
-
FROM python:3.
|
| 2 |
|
| 3 |
WORKDIR /app
|
| 4 |
|
| 5 |
-
COPY
|
| 6 |
-
RUN pip install -r requirements.txt
|
| 7 |
|
| 8 |
-
|
| 9 |
-
COPY models/ ./models/
|
| 10 |
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
CMD ["python", "app.py"]
|
|
|
|
| 1 |
+
FROM python:3.9-slim
|
| 2 |
|
| 3 |
WORKDIR /app
|
| 4 |
|
| 5 |
+
COPY . .
|
|
|
|
| 6 |
|
| 7 |
+
RUN pip3 install -r requirements.txt
|
|
|
|
| 8 |
|
| 9 |
+
CMD ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0", "--server.enableXsrfProtection=false"]
|
|
|
|
|
|