Download Dockerfile from Sada8888/Chatfly: direct link, hf CLI and curl.
- Browser
- Download file 435 Bytes
-
https://huggingface.co/spaces/Sada8888/Chatfly/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Sada8888/Chatfly/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Sada8888/Chatfly/resolve/main/Dockerfile
435 Bytes
| FROM python:3.9-slim | |
| RUN apt-get update && \ | |
| apt-get install -y git ffmpeg && \ | |
| rm -rf /var/lib/apt/lists/* | |
| RUN useradd -m -u 1000 user | |
| USER user | |
| ENV HOME=/home/user \ | |
| PATH=/home/user/.local/bin:$PATH | |
| WORKDIR /app | |
| CMD ["/bin/bash", "-c", "git clone https://$GITHUB_TOKEN@github.com/Hamed744/Chatfly.git . && pip install --no-cache-dir --upgrade pip && pip install --no-cache-dir -r requirements.txt && python app.py"] |