Download Dockerfile from ACloudCenter/Conference-Generator-VibeVoice: direct link, hf CLI and curl.
- Browser
- Download file 371 Bytes
-
https://huggingface.co/spaces/ACloudCenter/Conference-Generator-VibeVoice/resolve/9d60340de7a4fb9dbbfa16d69d6b4cb75ec6cdc6/Dockerfile
- Command line
-
hf download hf://spaces/ACloudCenter/Conference-Generator-VibeVoice@9d60340de7a4fb9dbbfa16d69d6b4cb75ec6cdc6/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/ACloudCenter/Conference-Generator-VibeVoice/resolve/9d60340de7a4fb9dbbfa16d69d6b4cb75ec6cdc6/Dockerfile
371 Bytes
| FROM python:3.11-slim | |
| RUN useradd -m -u 1000 user | |
| WORKDIR /home/user/app | |
| COPY --chown=1000:1000 requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY --chown=1000:1000 . . | |
| USER 1000 | |
| ENV HOME=/home/user \ | |
| PATH=/home/user/.local/bin:$PATH \ | |
| PYTHONUNBUFFERED=1 | |
| EXPOSE 7860 | |
| CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"] | |