Spaces:
Sleeping
Sleeping
Download Dockerfile from elisda/kinderbloom: direct link, hf CLI and curl.
- Browser
- Download file 503 Bytes
-
https://huggingface.co/spaces/elisda/kinderbloom/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/elisda/kinderbloom/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/elisda/kinderbloom/resolve/main/Dockerfile
503 Bytes
| # Use official Python base image | |
| FROM python:3.11-slim | |
| # Set working directory | |
| WORKDIR /app | |
| # Copy project files | |
| COPY . /app | |
| # Install OS dependencies for ffmpeg | |
| RUN apt-get update && apt-get install -y ffmpeg && apt-get clean | |
| # Install Python dependencies | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Expose FastAPI port | |
| EXPOSE 8000 | |
| # Set environment variables | |
| ENV PYTHONUNBUFFERED=1 | |
| # Start the app | |
| CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8000"] |