From 7cbe115d6a73207432f590849d3e2fd13c615f1f Mon Sep 17 00:00:00 2001 From: "codegen-sh[bot]" <131295404+codegen-sh[bot]@users.noreply.github.com> Date: Mon, 21 Apr 2025 09:59:34 +0000 Subject: [PATCH] Fix pymobiledevice3 dependency in Dockerfile --- Dockerfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 711f9d9a7..035e0aa54 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,12 +8,16 @@ RUN apt-get update && apt-get install -y \ libssl-dev \ libffi-dev \ python3-dev \ + git \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* # Copy requirements and install dependencies COPY flask_backend/requirements.txt . -RUN pip install --no-cache-dir -r requirements.txt + +# Install pymobiledevice3 directly from GitHub to ensure we get the latest version with all modules +RUN pip install --no-cache-dir -r requirements.txt && \ + pip install --no-cache-dir git+https://github.com/doronz88/pymobiledevice3.git # Copy application code COPY flask_backend/ .