Spaces:
Sleeping
Sleeping
Download Dockerfile from a9/SpaceProbe1: direct link, hf CLI and curl.
- Browser
- Download file 317 Bytes
-
https://huggingface.co/spaces/a9/SpaceProbe1/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/a9/SpaceProbe1/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/a9/SpaceProbe1/resolve/main/Dockerfile
317 Bytes
| # ---------- BACKEND ---------- | |
| FROM python:3.11-slim | |
| WORKDIR /app | |
| RUN pip install --no-cache-dir fastapi uvicorn pydantic aiohttp | |
| COPY api ./api | |
| COPY models ./models | |
| COPY services ./services | |
| COPY utils ./utils | |
| COPY main.py ./main.py | |
| EXPOSE 7860 | |
| CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"] |