Spaces:
Sleeping
Sleeping
Download Dockerfile from isakskogstad/api-data-fetcher: direct link, hf CLI and curl.
- Browser
- Download file 293 Bytes
-
https://huggingface.co/spaces/isakskogstad/api-data-fetcher/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/isakskogstad/api-data-fetcher/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/isakskogstad/api-data-fetcher/resolve/main/Dockerfile
293 Bytes
| FROM python:3.10-slim | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| EXPOSE 7860 | |
| HEALTHCHECK CMD curl --fail http://localhost:7860/_stcore/health | |
| ENTRYPOINT ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0"] |