feat: Docker and systemd deployment files
This commit is contained in:
+18
@@ -0,0 +1,18 @@
|
||||
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"]
|
||||
Reference in New Issue
Block a user