eduardogsilva.routerfleet/containers/monitoring/Dockerfile-monitoring

18 lines
348 B
Text
Raw Normal View History

2024-04-04 15:11:13 -03:00
FROM python:3.10
WORKDIR /app
RUN apt-get update && apt-get install -y \
net-tools \
inetutils-ping \
inetutils-traceroute \
nano \
vim-nox \
fping \
&& rm -rf /var/lib/apt/lists/* \
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY monitoring.py .
CMD ["python", "-u", "monitoring.py"]