Add bluetooth support
This commit is contained in:
@@ -9,6 +9,10 @@ COPY ./main.py /app/
|
||||
|
||||
# Install any dependencies
|
||||
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
|
||||
CMD ["python", "main.py"]
|
||||
Reference in New Issue
Block a user