Download Dockerfile from tmpublic/z2aa: direct link, hf CLI and curl.
- Browser
- Download file 216 Bytes
-
https://huggingface.co/spaces/tmpublic/z2aa/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/tmpublic/z2aa/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/tmpublic/z2aa/resolve/main/Dockerfile
216 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 ["python", "-m", "uvicorn", "openai:app", "--host", "0.0.0.0", "--port", "7860"] | |