From 659964eb38a55f299723cadc1ee00c437bab1b2e Mon Sep 17 00:00:00 2001 From: VectorAICreations <168691883+VectorAICreations@users.noreply.github.com> Date: Sun, 25 May 2025 17:00:22 -0300 Subject: [PATCH] Update Dockerfile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit O pydub usa o ffmpeg por trás. Como você está usando python:3.10-slim, precisa instalar ffmpeg no container. --- Dockerfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index f269ee7..9b6bed4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,10 @@ FROM python:3.10-slim -RUN apt-get update && apt-get install -y libsndfile1 && rm -rf /var/lib/apt/lists/* +# Instala libs de sistema necessárias para soundfile e pydub +RUN apt-get update && apt-get install -y \ + libsndfile1 \ + ffmpeg \ + && rm -rf /var/lib/apt/lists/* WORKDIR /app