Add bluetooth support
This commit is contained in:
parent
7e49c1a408
commit
5e1a48b523
@ -9,6 +9,10 @@ COPY ./main.py /app/
|
|||||||
|
|
||||||
# Install any dependencies
|
# Install any dependencies
|
||||||
RUN pip3 install --no-cache-dir bluepy
|
RUN pip3 install --no-cache-dir bluepy
|
||||||
|
RUN apt-get update
|
||||||
|
|
||||||
|
RUN apt-get install -y bluez bluetooth
|
||||||
|
|
||||||
|
RUN service dbus start bluetoothd
|
||||||
# Set the entry point
|
# Set the entry point
|
||||||
CMD ["python", "main.py"]
|
CMD ["python", "main.py"]
|
||||||
Loading…
Reference in New Issue
Block a user