securityChatbot / Dockerfile
AI Assistant
Initial commit: Security Awareness Chatbot Backend
41caa46
Raw History Blame Contribute Delete
263 Bytes
FROM python:3.11-slim
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
WORKDIR /app
COPY pyproject.toml uv.lock ./
RUN uv sync --no-dev --frozen
COPY . .
EXPOSE 7860
CMD ["uv", "run", "uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]