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