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: