Spaces:
Runtime error
Runtime error
Download Dockerfile from SolomonHsu/Deploy-FastAPI-Applications: direct link, hf CLI and curl.
- Browser
- Download file 176 Bytes
-
https://huggingface.co/spaces/SolomonHsu/Deploy-FastAPI-Applications/resolve/cd45323f302f5a3626845c5645d833965e480cfd/Dockerfile
- Command line
-
hf download hf://spaces/SolomonHsu/Deploy-FastAPI-Applications@cd45323f302f5a3626845c5645d833965e480cfd/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/SolomonHsu/Deploy-FastAPI-Applications/resolve/cd45323f302f5a3626845c5645d833965e480cfd/Dockerfile
176 Bytes
| FROM python:3.10.9 | |
| COPY /TextGen . | |
| WORKDIR / | |
| RUN pip install --no-cache-dir --upgrade -r /requirements.txt | |
| CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"] |