From aae8bc8649dba2ed131efd35a52070d918270ebb Mon Sep 17 00:00:00 2001 From: shmyga Date: Fri, 16 Aug 2024 00:06:30 +0300 Subject: [PATCH] build(docker): update Dockerfile --- Dockerfile | 5 ++--- gallery/painting/matchtv/api.py | 1 - 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index f21b1b1..24965e4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,7 +18,6 @@ ENV LANG=ru_RU.UTF-8 ENV LC_ALL=ru_RU.UTF-8 ENV TZ="Europe/Moscow" COPY --from=builder /app ./ -COPY gismeteo gismeteo/ -COPY weather weather/ +COPY gallery gallery/ -CMD ["uvicorn", "weather.main:app", "--host", "0.0.0.0", "--port", "80", "--log-config", "weather/logging.yaml"] +CMD ["uvicorn", "gallery.main:app", "--host", "0.0.0.0", "--port", "80", "--log-config", "gallery/logging.yaml"] diff --git a/gallery/painting/matchtv/api.py b/gallery/painting/matchtv/api.py index 0209fe3..d5d5275 100644 --- a/gallery/painting/matchtv/api.py +++ b/gallery/painting/matchtv/api.py @@ -35,7 +35,6 @@ class MatchTvApi(ScheduleApi): async def _request(self, endpoint: str) -> str: url = f"{self.BASE_URL}/{endpoint}" - print(url) logger.info(url) async with aiohttp.ClientSession( headers={