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