Spaces:
Sleeping
Sleeping
Download Dockerfile from MarneMorgan/FFstudio: direct link, hf CLI and curl.
- Browser
- Download file 405 Bytes
-
https://huggingface.co/spaces/MarneMorgan/FFstudio/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/MarneMorgan/FFstudio/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/MarneMorgan/FFstudio/resolve/main/Dockerfile
405 Bytes
| FROM python:3.11-slim | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| ffmpeg \ | |
| fonts-dejavu-core \ | |
| ca-certificates \ | |
| && rm -rf /var/lib/apt/lists/* | |
| WORKDIR /app | |
| COPY requirements.txt /app/requirements.txt | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . /app | |
| ENV PORT=7860 | |
| EXPOSE 7860 | |
| CMD ["bash", "-lc", "uvicorn app.main:app --host 0.0.0.0 --port ${PORT}"] | |