Download Dockerfile from f2d90b38/zerozz: direct link, hf CLI and curl.
- Browser
- Download file 239 Bytes
-
https://huggingface.co/spaces/f2d90b38/zerozz/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/f2d90b38/zerozz/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/f2d90b38/zerozz/resolve/main/Dockerfile
239 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| RUN pip install --no-cache-dir httpx fastapi uvicorn | |
| COPY main.py openai.py ./ | |
| EXPOSE 7860 | |
| CMD ["sh", "-c", "python -m uvicorn openai:app --host 0.0.0.0 --port 7860 --workers ${UVICORN_WORKERS:-1}"] | |