Spaces:
Running
Running
Download backend/Dockerfile from axeronis/microfunnel-api: direct link, hf CLI and curl.
- Browser
- Download file 470 Bytes
-
https://huggingface.co/spaces/axeronis/microfunnel-api/resolve/main/backend/Dockerfile
- Command line
-
hf download hf://spaces/axeronis/microfunnel-api/backend/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/axeronis/microfunnel-api/resolve/main/backend/Dockerfile
470 Bytes
| FROM python:3.14-slim | |
| WORKDIR /app | |
| # Install system dependencies | |
| RUN apt-get update && apt-get install -y \ | |
| gcc \ | |
| postgresql-client \ | |
| ffmpeg \ | |
| && rm -rf /var/lib/apt/lists/* | |
| # Copy requirements | |
| COPY requirements.txt . | |
| # Install Python dependencies | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy application code | |
| COPY . . | |
| # Expose port | |
| EXPOSE 8000 | |
| # Run application | |
| CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"] | |