Spaces:
Runtime error
Runtime error
Download Dockerfile from ILRDF-Lowking/ILRDF-Avatar-Backend: direct link, hf CLI and curl.
- Browser
- Download file 403 Bytes
-
https://huggingface.co/spaces/ILRDF-Lowking/ILRDF-Avatar-Backend/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/ILRDF-Lowking/ILRDF-Avatar-Backend/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/ILRDF-Lowking/ILRDF-Avatar-Backend/resolve/main/Dockerfile
403 Bytes
| FROM python:3.10-slim | |
| # 安裝系統層級的 ffmpeg(音訊轉換必備)與 基礎工具 | |
| RUN apt-get update && apt-get install -y \ | |
| ffmpeg \ | |
| curl \ | |
| && rm -rf /var/lib/apt/lists/* | |
| WORKDIR /code | |
| COPY ./requirements.txt /code/requirements.txt | |
| RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt | |
| COPY . . | |
| CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"] |