feat: add cache and logging

This commit is contained in:
2024-07-31 00:18:32 +03:00
parent 7f0e19fb5a
commit 891869c58c
7 changed files with 85 additions and 7 deletions

View File

@@ -21,4 +21,4 @@ COPY --from=builder /app ./
COPY gismeteo gismeteo/
COPY weather weather/
CMD ["uvicorn", "weather.main:app", "--host", "0.0.0.0", "--port", "80"]
CMD ["uvicorn", "weather.main:app", "--host", "0.0.0.0", "--port", "80", "--log-config", "weather/logging.yaml"]