Spaces:
Sleeping
Sleeping
Download Dockerfile from david-baxter/ob12api: direct link, hf CLI and curl.
- Browser
- Download file 207 Bytes
-
https://huggingface.co/spaces/david-baxter/ob12api/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/david-baxter/ob12api/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/david-baxter/ob12api/resolve/main/Dockerfile
207 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| EXPOSE 8081 | |
| CMD ["uvicorn", "src.main:app", "--host", "0.0.0.0", "--port", "8081"] | |