Spaces:
Sleeping
Sleeping
Download Dockerfile from RSBtech/RSBtechHub: direct link, hf CLI and curl.
- Browser
- Download file 344 Bytes
-
https://huggingface.co/spaces/RSBtech/RSBtechHub/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/RSBtech/RSBtechHub/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/RSBtech/RSBtechHub/resolve/main/Dockerfile
344 Bytes
| # Basis-Image | |
| FROM python:3.10-slim | |
| # Arbeitsverzeichnis setzen | |
| WORKDIR /app | |
| # Requirements installieren | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Projektdateien kopieren | |
| COPY . . | |
| # Port für HuggingFace Spaces | |
| EXPOSE 7860 | |
| # Startbefehl | |
| CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"] | |