Mohammed_Adeb / Dockerfile
ans42's picture
Create Dockerfile
ba34418 verified
raw
history blame contribute delete
573 Bytes
# استخدام بيئة بايثون مستقرة
FROM python:3.10
# تثبيت أدوات النظام الضرورية للصوت
RUN apt-get update && apt-get install -y \
ffmpeg \
portaudio19-dev \
git \
&& rm -rf /var/lib/apt/lists/*
# تحميل محرك Applio
RUN git clone https://github.com/IAHispano/Applio /app
WORKDIR /app
# تثبيت المكتبات البرمجية
RUN pip install --no-cache-dir -r requirements.txt
RUN pip install --no-cache-dir torchfcpe resampy pypresence regex
# تشغيل الأداة
CMD ["python", "app.py"]