Spaces:
Sleeping
Sleeping
Download Dockerfile from Wassam/git-dev-analysis: direct link, hf CLI and curl.
- Browser
- Download file 346 Bytes
-
https://huggingface.co/spaces/Wassam/git-dev-analysis/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Wassam/git-dev-analysis/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Wassam/git-dev-analysis/resolve/main/Dockerfile
346 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| # Install dependencies first for better Docker layer caching | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy app code and model | |
| COPY . . | |
| # Hugging Face Docker Spaces expect the app on port 7860 | |
| EXPOSE 7860 | |
| CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"] | |