Spaces:
Running
Running
Download Dockerfile from animtex/AIMoCap: direct link, hf CLI and curl.
- Browser
- Download file 429 Bytes
-
https://huggingface.co/spaces/animtex/AIMoCap/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/animtex/AIMoCap/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/animtex/AIMoCap/resolve/main/Dockerfile
429 Bytes
| FROM python:3.13-slim | |
| ENV PYTHONDONTWRITEBYTECODE=1 \ | |
| PYTHONUNBUFFERED=1 \ | |
| PORT=7860 \ | |
| HFSPACE_ALLOW_SOURCE_FALLBACK=0 | |
| WORKDIR /app | |
| RUN apt-get update \ | |
| && apt-get install -y --no-install-recommends ffmpeg \ | |
| && rm -rf /var/lib/apt/lists/* | |
| COPY requirements.txt ./ | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| EXPOSE 7860 | |
| CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"] | |