Delete all docker related files

Update schematics
This commit is contained in:
2024-04-30 09:36:20 +02:00
parent 4af0334254
commit ecfb5ed503
8 changed files with 11 additions and 109 deletions
-21
View File
@@ -1,21 +0,0 @@
# Use the official Python image as a base image
FROM python:3.11-bullseye
# Set the working directory in the container
WORKDIR /app
# Copy the script1.py and any other necessary files
COPY ./main.py /app/
# Install any dependencies
RUN apt-get update && apt-get install -y \
dbus \
bluetooth
RUN pip3 install --no-cache-dir bleak
# Set the entry point
COPY entrypoint.sh .
RUN ["chmod", "+x", "./entrypoint.sh"]
CMD ./entrypoint.sh
-5
View File
@@ -1,5 +0,0 @@
#!/bin/bash
service dbus start
service bluetooth start
python3 ./main.py
-9
View File
@@ -1,9 +0,0 @@
import asyncio
from bleak import BleakScanner
async def main():
devices = await BleakScanner.discover()
for d in devices:
print(d)
asyncio.run(main())