first commit

This commit is contained in:
2025-11-30 21:28:22 +01:00
commit 6f3b862bdb
4 changed files with 281 additions and 0 deletions

20
Dockerfile Normal file
View File

@@ -0,0 +1,20 @@
ARG TARGETPLATFORM
FROM --platform=${TARGETPLATFORM:-linux/amd64} python:3.11-slim-bookworm
ENV PYTHONUNBUFFERED=1 \
PIP_NO_CACHE_DIR=1 \
PIP_DISABLE_PIP_VERSION_CHECK=1
RUN apt-get update \
&& apt-get install -y --no-install-recommends ffmpeg libsndfile1 \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY requirements.txt .
RUN pip install --upgrade pip \
&& pip install -r requirements.txt
COPY . .
ENTRYPOINT ["python", "main.py"]