aco-academy-benchmark / Dockerfile
GotThatData's picture
Fix: Add custom Dockerfile to use Python 3.11 to resolve audioop/HfFolder issues
22e6d9b verified
raw
history blame contribute delete
386 Bytes
FROM python:3.11-slim
WORKDIR /app
# Install system dependencies
RUN apt-get update && apt-get install -y \
git \
&& rm -rf /var/lib/apt/lists/*
# Copy requirements and install Python deps
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy application
COPY . .
# Expose Gradio default port
EXPOSE 7860
# Run the app
CMD ["python", "app.py"]