Chatterbox_tts / Dockerfile
codewithjarair's picture
Create Dockerfile
d0675dc verified
raw
history blame contribute delete
518 Bytes
# Use the official Hugging Face Spaces Gradio SDK image
FROM python:3.11
# Set the working directory
WORKDIR /code
# Install numpy first to satisfy build-time dependencies of pkuseg
RUN pip install --no-cache-dir numpy==1.26.4
# Copy the requirements file and install the rest of the dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy the application code
COPY . .
# Expose the port Gradio runs on
EXPOSE 7860
# Command to run the application
CMD ["python", "app.py"]