codewithjarair/Chatterbox_tts
3
1# Use the official Hugging Face Spaces Gradio SDK image2FROM python:3.113 4# Set the working directory5WORKDIR /code6 7# Install numpy first to satisfy build-time dependencies of pkuseg8RUN pip install --no-cache-dir numpy==1.26.49 10# Copy the requirements file and install the rest of the dependencies11COPY requirements.txt .12RUN pip install --no-cache-dir -r requirements.txt13 14# Copy the application code15COPY . .16 17# Expose the port Gradio runs on18EXPOSE 786019 20# Command to run the application21CMD ["python", "app.py"]22 