Spaces:
Sleeping
Sleeping
Download Dockerfile from ChocoLord/paper_classifier: direct link, hf CLI and curl.
- Browser
- Download file 311 Bytes
-
https://huggingface.co/spaces/ChocoLord/paper_classifier/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/ChocoLord/paper_classifier/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/ChocoLord/paper_classifier/resolve/main/Dockerfile
311 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| ENV PYTHONDONTWRITEBYTECODE=1 | |
| ENV PYTHONUNBUFFERED=1 | |
| ENV PIP_NO_CACHE_DIR=1 | |
| COPY requirements.txt . | |
| RUN pip install --upgrade pip && pip install -r requirements.txt | |
| COPY . . | |
| EXPOSE 7860 | |
| CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0"] |