Files
FabledSteward/Dockerfile
T

21 lines
445 B
Docker

FROM python:3.11-slim
RUN apt-get update && apt-get install -y --no-install-recommends iputils-ping && rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY pyproject.toml .
COPY fablednetmon/ fablednetmon/
RUN pip install --no-cache-dir .
COPY alembic.ini .
# Runtime directories
RUN mkdir -p /data/playbook_cache /data/plugins
ENV FABLEDNETMON_CONFIG=/config/config.yaml
EXPOSE 5000
CMD ["fablednetmon", "--host", "0.0.0.0", "--port", "5000"]