Spaces:
Sleeping
Sleeping
Download Dockerfile from QuantumLearner/Space24: direct link, hf CLI and curl.
- Browser
- Download file 376 Bytes
-
https://huggingface.co/spaces/QuantumLearner/Space24/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/QuantumLearner/Space24/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/QuantumLearner/Space24/resolve/main/Dockerfile
376 Bytes
| FROM python:3.9 | |
| RUN useradd -m -u 1000 user | |
| ENV HOME=/home/user \ | |
| PATH=/home/user/.local/bin:$PATH | |
| WORKDIR $HOME/app | |
| USER user | |
| COPY --chown=user requirements.txt $HOME/app/requirements.txt | |
| RUN pip install --no-cache-dir --upgrade pip \ | |
| && pip install --no-cache-dir -r requirements.txt | |
| COPY --chown=user . $HOME/app | |
| CMD ["chainlit", "run", "app.py", "--port", "7860"] |