CoolFace
Apppublic

SOHAIL41/gmassistant

sourceHugging Faceupdated 3mo agoView on Hugging Face
0likes
Dockerfile35 linesDownload Raw Back to root
1FROM python:3.10-slim2 3WORKDIR /app4 5# Install system dependencies for audio processing6RUN apt-get update && apt-get install -y \7    gcc \8    g++ \9    ffmpeg \10    libportaudio2 \11    libportaudiocpp0 \12    portaudio19-dev \13    libsndfile1 \14    && rm -rf /var/lib/apt/lists/*15 16# Copy requirements first for better caching17COPY requirements.txt .18 19# Install Python dependencies20RUN pip install --no-cache-dir --upgrade pip21RUN pip install --no-cache-dir -r requirements.txt22 23# Copy application files24COPY . .25 26# Expose Gradio port27EXPOSE 786028 29# Set environment variables30ENV PYTHONUNBUFFERED=131ENV GRADIO_SERVER_NAME=0.0.0.032ENV GRADIO_SERVER_PORT=786033 34# Run the application35CMD ["python", "app.py"]