mirror of
https://github.com/remsky/Kokoro-FastAPI.git
synced 2025-08-05 16:48:53 +00:00
Update Dockerfile
Na imagem python:3.10-slim, o pacote soundfile (via pysoundfile) precisa da lib libsndfile1. Então adicione isso no Dockerfile também:
This commit is contained in:
parent
3a766fdc1a
commit
c2b2e29e46
1 changed files with 2 additions and 1 deletions
|
@ -1,9 +1,10 @@
|
|||
FROM python:3.10-slim
|
||||
|
||||
RUN apt-get update && apt-get install -y libsndfile1 && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY requirements.txt .
|
||||
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
COPY . .
|
||||
|
|
Loading…
Add table
Reference in a new issue