This commit is contained in:
mudler
2023-07-28 19:46:30 +02:00
parent 00391615f7
commit d6e3b97308
8 changed files with 289 additions and 28 deletions

18
Dockerfile Normal file
View File

@@ -0,0 +1,18 @@
FROM python:3.10-bullseye
WORKDIR /app
COPY ./requirements.txt /app/requirements.txt
RUN pip install --no-cache-dir -r requirements.txt
ENV DEBIAN_FRONTEND noninteractive
# Install package dependencies
RUN apt-get update -y && \
apt-get install -y --no-install-recommends \
alsa-utils \
libsndfile1-dev && \
apt-get clean
COPY . /app
ENTRYPOINT [ "python", "./main.py" ];