build(docker): update Dockerfile
This commit is contained in:
@@ -18,7 +18,6 @@ ENV LANG=ru_RU.UTF-8
|
|||||||
ENV LC_ALL=ru_RU.UTF-8
|
ENV LC_ALL=ru_RU.UTF-8
|
||||||
ENV TZ="Europe/Moscow"
|
ENV TZ="Europe/Moscow"
|
||||||
COPY --from=builder /app ./
|
COPY --from=builder /app ./
|
||||||
COPY gismeteo gismeteo/
|
COPY gallery gallery/
|
||||||
COPY weather weather/
|
|
||||||
|
|
||||||
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"]
|
||||||
|
|||||||
@@ -35,7 +35,6 @@ class MatchTvApi(ScheduleApi):
|
|||||||
|
|
||||||
async def _request(self, endpoint: str) -> str:
|
async def _request(self, endpoint: str) -> str:
|
||||||
url = f"{self.BASE_URL}/{endpoint}"
|
url = f"{self.BASE_URL}/{endpoint}"
|
||||||
print(url)
|
|
||||||
logger.info(url)
|
logger.info(url)
|
||||||
async with aiohttp.ClientSession(
|
async with aiohttp.ClientSession(
|
||||||
headers={
|
headers={
|
||||||
|
|||||||
Reference in New Issue
Block a user