16 lines
300 B
Docker

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