first commit
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
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"]
|
||||
Reference in New Issue
Block a user