Spaces:
Configuration error
Configuration error
File size: 334 Bytes
e4f3d12 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | 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"]
|