Change to bleak instead of bluepy
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# Use the official Python image as a base image
|
||||
FROM python:3.11-bullseye
|
||||
FROM python:3.11-pt bullseye
|
||||
|
||||
# Set the working directory in the container
|
||||
WORKDIR /app
|
||||
@@ -9,12 +9,11 @@ COPY ./main.py /app/
|
||||
|
||||
# Install any dependencies
|
||||
RUN apt-get update && apt-get install -y \
|
||||
bluez \
|
||||
dbus \
|
||||
bluetooth
|
||||
|
||||
|
||||
RUN pip3 install --no-cache-dir pybluez
|
||||
RUN pip3 install --no-cache-dir bleak
|
||||
|
||||
# Set the entry point
|
||||
COPY entrypoint.sh .
|
||||
|
||||
Reference in New Issue
Block a user