From f2093f376cb4b5f60b5dd355175d38b7166b26be Mon Sep 17 00:00:00 2001 From: HellsSenju Date: Wed, 2 Oct 2024 23:00:20 +0400 Subject: [PATCH] =?UTF-8?q?=D0=BD=D0=B5=D0=B1=D0=BE=D0=BB=D1=8C=D1=88?= =?UTF-8?q?=D0=B8=D0=B5=20=D0=BF=D1=80=D0=B0=D0=B2=D0=BA=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tsukanova_irina_lab_3/author_service/Dockerfile | 3 --- tsukanova_irina_lab_3/book_service/Dockerfile | 3 --- tsukanova_irina_lab_3/docker-compose.yaml | 2 +- 3 files changed, 1 insertion(+), 7 deletions(-) diff --git a/tsukanova_irina_lab_3/author_service/Dockerfile b/tsukanova_irina_lab_3/author_service/Dockerfile index 4c74985..1271d2d 100644 --- a/tsukanova_irina_lab_3/author_service/Dockerfile +++ b/tsukanova_irina_lab_3/author_service/Dockerfile @@ -13,8 +13,5 @@ RUN pip install --no-cache-dir -r requirements.txt # Копирую все файлы в контейнер COPY author_service/author_service.py . -## Открываю порт 20001 для Flask -#EXPOSE 20001 - # Команда для запуска Python-скрипта CMD ["python", "author_service.py"] \ No newline at end of file diff --git a/tsukanova_irina_lab_3/book_service/Dockerfile b/tsukanova_irina_lab_3/book_service/Dockerfile index 99845f7..ab2f40b 100644 --- a/tsukanova_irina_lab_3/book_service/Dockerfile +++ b/tsukanova_irina_lab_3/book_service/Dockerfile @@ -13,8 +13,5 @@ RUN pip install --no-cache-dir -r requirements.txt # Копирую все файлы в контейнер COPY book_service/book_service.py . -## Открываю порт 20001 для Flask -#EXPOSE 20001 - # Команда для запуска Python-скрипта CMD ["python", "book_service.py"] \ No newline at end of file diff --git a/tsukanova_irina_lab_3/docker-compose.yaml b/tsukanova_irina_lab_3/docker-compose.yaml index 3e34647..b9cd210 100644 --- a/tsukanova_irina_lab_3/docker-compose.yaml +++ b/tsukanova_irina_lab_3/docker-compose.yaml @@ -5,7 +5,7 @@ services: build: context: . dockerfile: ./author_service/Dockerfile - ports: + expose: - 20001 book_service: