Spaces:
Sleeping
Sleeping
Download Dockerfile from Colintrooper/stprx: direct link, hf CLI and curl.
- Browser
- Download file 298 Bytes
-
https://huggingface.co/spaces/Colintrooper/stprx/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Colintrooper/stprx/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Colintrooper/stprx/resolve/main/Dockerfile
298 Bytes
| FROM python:3.11-slim-bullseye | |
| WORKDIR /app | |
| RUN apt-get update && apt-get install -y git | |
| RUN git clone https://github.com/fostira/stprx.git . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| EXPOSE 7860 | |
| CMD ["uvicorn", "run:main_app", "--host", "0.0.0.0", "--port", "7860", "--workers", "4"] |