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/
|
COPY ./main.py /app/
|
||||||
|
|
||||||
# Install any dependencies
|
# Install any dependencies
|
||||||
|
RUN apt-get update && apt-get install -y \
|
||||||
|
bluez \
|
||||||
|
dbus
|
||||||
|
|
||||||
RUN pip3 install --no-cache-dir bluepy
|
RUN pip3 install --no-cache-dir bluepy
|
||||||
|
|
||||||
|
|||||||
@ -7,7 +7,8 @@ services:
|
|||||||
dockerfile: ./DOCKERFILE
|
dockerfile: ./DOCKERFILE
|
||||||
privileged: true
|
privileged: true
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/dbus/:/var/run/dbus/
|
-volumes: /run/dbus:/run/dbus:ro
|
||||||
|
|
||||||
web-gui:
|
web-gui:
|
||||||
build:
|
build:
|
||||||
context: ./WebGui
|
context: ./WebGui
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user