Download Dockerfile from SubLabAI/Subflow: direct link, hf CLI and curl.
- Browser
- Download file 249 Bytes
-
https://huggingface.co/spaces/SubLabAI/Subflow/resolve/2cf7da7289fb6ebf6ccd69342fe4d373a00835b2/Dockerfile
- Command line
-
hf download hf://spaces/SubLabAI/Subflow@2cf7da7289fb6ebf6ccd69342fe4d373a00835b2/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/SubLabAI/Subflow/resolve/2cf7da7289fb6ebf6ccd69342fe4d373a00835b2/Dockerfile
249 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| RUN pip install --upgrade pip setuptools wheel | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| EXPOSE 7860 | |
| CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"] |