From 260f3aa19643bfea428e9e309ee832536b0e8bde Mon Sep 17 00:00:00 2001 From: domverse Date: Fri, 27 Feb 2026 15:42:11 +0100 Subject: [PATCH] fix: add web app deps and git to Docker build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Added fastapi, uvicorn, pydantic, requests to requirements.txt (were missing — only CLI deps were present) - Changed fast-flights entry to git+GitHub URL (v3 not on PyPI) - Added git to apt-get install in Dockerfile (needed for pip git+ URL) Co-Authored-By: Claude Sonnet 4.6 --- flight-comparator/Dockerfile | 1 + flight-comparator/requirements.txt | 13 ++++++++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/flight-comparator/Dockerfile b/flight-comparator/Dockerfile index 0d34768..0006568 100644 --- a/flight-comparator/Dockerfile +++ b/flight-comparator/Dockerfile @@ -19,6 +19,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ nginx \ supervisor \ gcc \ + git \ && rm -rf /var/lib/apt/lists/* WORKDIR /app diff --git a/flight-comparator/requirements.txt b/flight-comparator/requirements.txt index a30a68f..0f36bb5 100644 --- a/flight-comparator/requirements.txt +++ b/flight-comparator/requirements.txt @@ -1,4 +1,15 @@ +# Web API +fastapi>=0.104.0 +uvicorn[standard]>=0.24.0 +pydantic>=2.0.0 + +# CLI tool click>=8.0.0 python-dateutil>=2.8.0 rich>=13.0.0 -fast-flights>=3.0.0 + +# Shared utilities +requests>=2.31.0 + +# Flight search (GitHub only — not on PyPI as a stable release) +git+https://github.com/AWeirdDev/flights.git