Download Dockerfile from Deadmon/pipecat: direct link, hf CLI and curl.
- Browser
- Download file 473 Bytes
-
https://huggingface.co/spaces/Deadmon/pipecat/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Deadmon/pipecat/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Deadmon/pipecat/resolve/main/Dockerfile
473 Bytes
| # Use the official Python slim image to keep the image size small | |
| FROM python:3.11-slim | |
| # Set working directory | |
| WORKDIR /app | |
| # Copy all application and test files | |
| COPY . . | |
| # Install dependencies | |
| RUN pip install --no-cache-dir -r requirements.txt && \ | |
| pip install --no-cache-dir requests pytest | |
| # Expose the port for the FastAPI server | |
| EXPOSE 7860 | |
| # Command to run the application | |
| CMD ["uvicorn", "bot_runner:app", "--host", "0.0.0.0", "--port", "7860", "--reload"] |