Spaces:
Sleeping
Sleeping
Download Dockerfile from keyinnovationsinc/quotingSystem: direct link, hf CLI and curl.
- Browser
- Download file 425 Bytes
-
https://huggingface.co/spaces/keyinnovationsinc/quotingSystem/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/keyinnovationsinc/quotingSystem/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/keyinnovationsinc/quotingSystem/resolve/main/Dockerfile
425 Bytes
| FROM python:3.10 | |
| # Create a user so HF Spaces doesn’t run as root | |
| RUN useradd -m -u 1000 user | |
| USER user | |
| ENV PATH="/home/user/.local/bin:$PATH" | |
| WORKDIR /home/user/app | |
| COPY --chown=user requirements.txt requirements.txt | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY --chown=user . . | |
| EXPOSE 8501 | |
| CMD ["streamlit", "run", "main.py", "--server.port=8501", "--server.address=0.0.0.0", "--server.enableCORS=false"] | |