Some checks failed
Build and push DevOpsDash / build (push) Has been cancelled
- Taskz kanban board (create/edit tasks, findings, status/priority) - Worklog timeline + standup summary (proxied from DevOpsMCP MCP API) - Knowledge browser (ADRs, memories, knowledge catalog files) - FastAPI backend reading same Redis as DevOpsMCP - Read-only bind-mount for DevOpsMCP data directory (/data) - Nomad job spec (dash.i80.dk, Traefik TLS, host volume read-only) - Gitea Actions CI → registry.i80.dk/gitea/devops-dash:latest
24 lines
444 B
Docker
24 lines
444 B
Docker
FROM python:3.11-slim AS base
|
|
|
|
WORKDIR /app
|
|
|
|
# Install dependencies
|
|
COPY requirements.txt .
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
# Copy app
|
|
COPY app/ app/
|
|
|
|
# Non-root user
|
|
RUN useradd -r -u 1001 appuser && chown -R appuser /app
|
|
USER appuser
|
|
|
|
# Data dir (will be bind-mounted read-only in production)
|
|
RUN mkdir -p /data
|
|
|
|
EXPOSE 8001
|
|
|
|
ENV PORT=8001
|
|
|
|
CMD ["sh", "-c", "python -m uvicorn app.main:app --host 0.0.0.0 --port ${PORT}"]
|