mirror of
https://github.com/house-of-vanity/lywsd03mmc_exporter.git
synced 2025-07-07 15:24:08 +00:00
Fix image size
This commit is contained in:
@ -3,8 +3,8 @@ FROM python:slim
|
|||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
COPY requirements.txt ./
|
COPY requirements.txt ./
|
||||||
RUN apt update && apt install -y make clang libglib2.0-dev bluez dbus
|
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
|
#RUN pip install --no-cache-dir -r requirements.txt
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
|
@ -1,3 +1,2 @@
|
|||||||
prometheus_client
|
prometheus_client
|
||||||
bluepy
|
bluepy
|
||||||
requests
|
|
||||||
|
Reference in New Issue
Block a user