feat: initial commit
This commit is contained in:
+19
@@ -0,0 +1,19 @@
|
||||
FROM python:3.12-slim
|
||||
|
||||
LABEL description="MikroTik IP Monitor with Telegram alerts"
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
tzdata \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN pip install --no-cache-dir \
|
||||
routeros-api==0.17.0 \
|
||||
httpx==0.27.0
|
||||
|
||||
# Копируем скрипт из репозитория
|
||||
COPY monitor.py .
|
||||
|
||||
ENV TZ=Europe/Moscow
|
||||
CMD ["python", "-u", "/app/monitor.py"]
|
||||
Reference in New Issue
Block a user