llm-security-scanner / Dockerfile
LaelaZ's picture
HF Space Dockerfile: serve the viewer
a238483 verified
raw
history blame contribute delete
229 Bytes
FROM python:3.11-slim
ENV PYTHONUNBUFFERED=1 PIP_NO_CACHE_DIR=1
WORKDIR /app
COPY . /app
RUN pip install --no-cache-dir ".[viewer]"
EXPOSE 7860
CMD ["uvicorn","llm_security_scanner.viewer:app","--host","0.0.0.0","--port","7860"]