Files
testmontools/Dockerfile
T
2026-05-25 16:45:01 +03:00

13 lines
306 B
Docker

FROM python:3.10-slim
RUN python -m pip install --upgrade pip
RUN pip install Flask
# Установка curl, nano, ping и traceroute
RUN apt-get update && apt-get install -y curl nano iputils-ping traceroute
RUN mkdir /app
COPY ./network_tools.py /app
WORKDIR /app
CMD ["python", "network_tools.py"]