Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -7
Dockerfile
CHANGED
|
@@ -18,15 +18,10 @@ RUN git clone https://github.com/iragca/ml-final-project-streamlit-app.git
|
|
| 18 |
|
| 19 |
WORKDIR /app/ml-final-project-streamlit-app
|
| 20 |
|
| 21 |
-
RUN
|
| 22 |
-
libpq-dev \
|
| 23 |
-
gcc \
|
| 24 |
-
python3-dev
|
| 25 |
-
RUN pip install uv
|
| 26 |
-
RUN uv sync
|
| 27 |
|
| 28 |
EXPOSE 7860
|
| 29 |
|
| 30 |
HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
|
| 31 |
|
| 32 |
-
ENTRYPOINT ["
|
|
|
|
| 18 |
|
| 19 |
WORKDIR /app/ml-final-project-streamlit-app
|
| 20 |
|
| 21 |
+
RUN pip3 install -r requirements.txt
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
|
| 23 |
EXPOSE 7860
|
| 24 |
|
| 25 |
HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
|
| 26 |
|
| 27 |
+
ENTRYPOINT ["streamlit", "run", "main.py", "--server.port=7860", "--server.address=0.0.0.0"]
|