diff --git a/Dockerfile b/Dockerfile index 0c85582..9ca73b7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,8 +3,8 @@ FROM python:slim WORKDIR /app COPY requirements.txt ./ -RUN apt update && apt install -y make clang libglib2.0-dev bluez dbus -RUN pip install --no-cache-dir -r requirements.txt +RUN apt update && apt install --no-install-recommends -y make clang libglib2.0-dev bluez dbus && pip install --no-cache-dir -r requirements.txt && apt remove -y make clang libglib2.0-dev && apt-get clean autoclean && apt-get autoremove --yes && rm -rf /var/lib/apt/lists/* +#RUN pip install --no-cache-dir -r requirements.txt COPY . . diff --git a/requirements.txt b/requirements.txt index e498c67..766c391 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,2 @@ prometheus_client bluepy -requests