Spaces:
Configuration error
Configuration error
Download Dockerfile from Nitishkumar-ai/commitguard: direct link, hf CLI and curl.
- Browser
- Download file 334 Bytes
-
https://huggingface.co/spaces/Nitishkumar-ai/commitguard/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Nitishkumar-ai/commitguard/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Nitishkumar-ai/commitguard/resolve/main/Dockerfile
334 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| COPY pyproject.toml README.md /app/ | |
| COPY commitguard_env /app/commitguard_env | |
| COPY data /app/data | |
| COPY cwe_keywords.json /app/ | |
| RUN pip install --no-cache-dir -U pip setuptools wheel \ | |
| && pip install --no-cache-dir . | |
| EXPOSE 8000 | |
| CMD ["python", "-m", "commitguard_env.server"] | |