Files
FabledSteward/Dockerfile
T

19 lines
338 B
Docker

FROM python:3.11-slim
WORKDIR /app
COPY pyproject.toml .
RUN pip install --no-cache-dir -e .
COPY fablednetmon/ fablednetmon/
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"]