generaqtts / Dockerfile
userhugginggit's picture
Update Dockerfile
b987700 verified
raw
history blame contribute delete
613 Bytes
FROM python:3.10-slim
ENV DEBIAN_FRONTEND=noninteractive
ENV PYTHONUNBUFFERED=1
ENV MODEL_CACHE_SIZE=1
ENV ACTIVE_MODELS="Qwen/Qwen3-TTS-12Hz-0.6B-Base,Qwen/Qwen3-TTS-12Hz-0.6B-CustomVoice"
ENV HOME=/tmp
RUN apt-get update && apt-get install -y --no-install-recommends \
git ffmpeg libsndfile1 sox build-essential \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY . /app
RUN pip install --no-cache-dir --upgrade pip \
&& pip install --no-cache-dir -r requirements.txt
EXPOSE 7860
# EL CAMBIO IMPORTANTE: Espacio después de CMD
CMD ["python3", "server.py", "--host", "0.0.0.0", "--port", "7860"]