I'm still trying

Add bluez lib to docker
Add dbus to docker
This commit is contained in:
jeanGaston 2024-02-06 08:28:21 +01:00
parent f32e44f0ee
commit f316808af7
2 changed files with 5 additions and 1 deletions

View File

@ -8,6 +8,9 @@ WORKDIR /app
COPY ./main.py /app/
# Install any dependencies
RUN apt-get update && apt-get install -y \
bluez \
dbus
RUN pip3 install --no-cache-dir bluepy

View File

@ -7,7 +7,8 @@ services:
dockerfile: ./DOCKERFILE
privileged: true
volumes:
- /var/run/dbus/:/var/run/dbus/
-volumes: /run/dbus:/run/dbus:ro
web-gui:
build:
context: ./WebGui