mirror of
https://github.com/remsky/Kokoro-FastAPI.git
synced 2025-08-05 16:48:53 +00:00
Update Dockerfile
O pydub usa o ffmpeg por trás. Como você está usando python:3.10-slim, precisa instalar ffmpeg no container.
This commit is contained in:
parent
c2b2e29e46
commit
659964eb38
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue