diff --git a/Dockerfile b/Dockerfile index f428540..02ec242 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,17 +2,13 @@ FROM python:3.11-slim WORKDIR /app -RUN apt-get update && apt-get install -y git build-essential && rm -rf /var/lib/apt/lists/* +RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/* COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt -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 +RUN pip install --no-cache-dir git+https://github.com/cyberjunky/python-garminconnect.git COPY . . EXPOSE 5000