2 Achegas 96701cc08e ... d4ab89b43c

Autor SHA1 Mensaxe Data
  Lehi4 d4ab89b43c dockerfile add %!s(int64=2) %!d(string=hai) anos
  Жиляев Алексей Андреевич 96701cc08e ip-time %!s(int64=2) %!d(string=hai) anos
Modificáronse 2 ficheiros con 9 adicións e 1 borrados
  1. 9 0
      Dockerfile
  2. 0 1
      status.txt

+ 9 - 0
Dockerfile

@@ -0,0 +1,9 @@
+FROM python:3.10-slim
+
+
+RUN pip install --no-cache-dir --upgrade pip \
+  && pip install --no-cache-dir requests
+
+COPY main.py .
+CMD ["python3","./main.py"]
+EXPOSE 8000

+ 0 - 1
status.txt

@@ -1 +0,0 @@
-Добавление новой страницы "status" с выведение IP и времени