it can now run in a docker container. YEEEY

This commit is contained in:
2024-05-30 17:26:54 +02:00
parent 837807c066
commit 42248456d8
6 changed files with 46 additions and 3 deletions

16
Dockerfile Normal file
View File

@@ -0,0 +1,16 @@
FROM python:3.12
WORKDIR = /src
COPY python/src/ .
COPY python/requierements.txt .
COPY python/docker_entrypoint.sh /
RUN mkdir data
RUN apt-get update && \
apt-get install -y bluez sudo
RUN pip3.12 install -r requierements.txt && rm -f requierements.txt
ENTRYPOINT sh /docker_entrypoint.sh