mirror of
https://github.com/house-of-vanity/lywsd03mmc_exporter.git
synced 2025-07-06 06:54:07 +00:00
14 lines
487 B
Docker
14 lines
487 B
Docker
FROM python:slim
|
|
|
|
WORKDIR /app
|
|
|
|
COPY 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 bt_exporter.py ./
|
|
COPY entrypoint.sh ./
|
|
|
|
#CMD [ "python", "./bt_exporter.py" ]
|
|
CMD ./entrypoint.sh
|