Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +6 -2
Dockerfile
CHANGED
|
@@ -5,9 +5,13 @@ RUN apt-get update && apt-get install -y \
|
|
| 5 |
curl \
|
| 6 |
git \
|
| 7 |
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
| 8 |
COPY requirements.txt ./
|
| 9 |
-
COPY
|
|
|
|
|
|
|
| 10 |
RUN pip3 install -r requirements.txt
|
|
|
|
| 11 |
EXPOSE 8501
|
| 12 |
HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
|
| 13 |
-
ENTRYPOINT ["streamlit", "run", "
|
|
|
|
| 5 |
curl \
|
| 6 |
git \
|
| 7 |
&& rm -rf /var/lib/apt/lists/*
|
| 8 |
+
|
| 9 |
COPY requirements.txt ./
|
| 10 |
+
COPY app.py ./
|
| 11 |
+
COPY utils/ ./utils/
|
| 12 |
+
|
| 13 |
RUN pip3 install -r requirements.txt
|
| 14 |
+
|
| 15 |
EXPOSE 8501
|
| 16 |
HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
|
| 17 |
+
ENTRYPOINT ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"]
|