Spaces:
Sleeping
Sleeping
Download Dockerfile from Purdue/runrate-lab: direct link, hf CLI and curl.
- Browser
- Download file 437 Bytes
-
https://huggingface.co/spaces/Purdue/runrate-lab/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Purdue/runrate-lab/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Purdue/runrate-lab/resolve/main/Dockerfile
437 Bytes
| FROM python:3.12-slim | |
| ENV PYTHONDONTWRITEBYTECODE=1 \ | |
| PYTHONUNBUFFERED=1 \ | |
| PIP_NO_CACHE_DIR=1 | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --upgrade pip \ | |
| && pip install -r requirements.txt | |
| COPY . . | |
| EXPOSE 8501 | |
| HEALTHCHECK CMD python -c "import urllib.request; urllib.request.urlopen('http://localhost:8501/_stcore/health')" | |
| CMD ["streamlit", "run", "app.py", "--server.address=0.0.0.0", "--server.port=8501"] | |