27 lines
464 B
Docker

FROM python:3.12-alpine3.20
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 apk add --no-cache \
sudo \
make \
bluez \
bluez-deprecated \
alsa-utils \
alsa-utils-doc \
alsa-lib \
alsaconf
RUN pip3.12 install -r requierements.txt && rm -f requierements.txt
ENTRYPOINT sh /docker_entrypoint.sh