mirror of
https://github.com/eduardogsilva/routerfleet.git
synced 2025-06-21 01:25:41 +02:00
17 lines
348 B
Text
17 lines
348 B
Text
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"]
|