18 lines
400 B
Docker
18 lines
400 B
Docker
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" ]; |