build(docker): update Dockerfile

This commit is contained in:
2024-08-16 00:06:30 +03:00
parent ab8b760f93
commit aae8bc8649
2 changed files with 2 additions and 4 deletions

View File

@@ -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"]

View File

@@ -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={