I'm still trying
Add bluez lib to docker Add dbus to docker
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
+2
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user