update dockerfile

permission issues with entrypoint.sh
This commit is contained in:
jeanGaston 2024-02-06 10:54:33 +01:00
parent ce6b0561c6
commit 93a419d4f0
2 changed files with 3 additions and 0 deletions

View File

@ -17,4 +17,5 @@ RUN pip3 install --no-cache-dir bleak
# Set the entry point
COPY entrypoint.sh .
RUN ["chmod", "+x", "./entrypoint.sh"]
CMD ./entrypoint.sh

View File

@ -1,3 +1,5 @@
#!/bin/bash
service dbus start
service bluetooth start
python3 ./main.py