commitguard / Dockerfile
Nitishkumar-ai's picture
Upload folder using huggingface_hub
e4f3d12 verified
raw
history blame contribute delete
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"]