Spaces:
Sleeping
Sleeping
Download Dockerfile from Nitishkumar-ai/commitguard-env: direct link, hf CLI and curl.
- Browser
- Download file 315 Bytes
-
https://huggingface.co/spaces/Nitishkumar-ai/commitguard-env/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Nitishkumar-ai/commitguard-env/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Nitishkumar-ai/commitguard-env/resolve/main/Dockerfile
315 Bytes
| FROM python:3.12-slim | |
| WORKDIR /app | |
| ENV PYTHONUNBUFFERED=1 | |
| COPY pyproject.toml README.md ./ | |
| COPY commitguard_env/ commitguard_env/ | |
| COPY data/ data/ | |
| COPY configs/ configs/ | |
| COPY server/ server/ | |
| RUN pip install -e . | |
| EXPOSE 7860 | |
| CMD ["uvicorn", "commitguard_env.server:app", "--host", "0.0.0.0", "--port", "7860"] | |