From 688801c5677d9ea529ef3c4788a6a4c1679b4898 Mon Sep 17 00:00:00 2001 From: ash Date: Fri, 3 Apr 2026 18:16:48 +0100 Subject: [PATCH] fix git clone --- Dockerfile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 004e69b..f428540 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,13 +2,17 @@ FROM python:3.11-slim WORKDIR /app -RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/* +RUN apt-get update && apt-get install -y git build-essential && rm -rf /var/lib/apt/lists/* COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt -RUN pip install --no-cache-dir git+https://github.com/cyberjunky/python-garminconnect.git@react +RUN pip install --no-cache-dir garth requests + +RUN git clone -b react https://github.com/cyberjunky/python-garminconnect.git /tmp/garminconnect \ + && cp -r /tmp/garminconnect/garminconnect /app/ \ + && rm -rf /tmp/garminconnect COPY . . EXPOSE 5000