darwhite/force-alignment-api
0
1FROM python:3.9-slim2 3# Install ffmpeg, espeak-ng, and other system dependencies4RUN apt-get update && apt-get install -y \5 ffmpeg \6 espeak-ng \7 libespeak-ng1 \8 libxml2-dev \9 libxslt1-dev \10 && rm -rf /var/lib/apt/lists/*11 12# Set working directory13WORKDIR /app14 15# Copy requirement file and install Python dependencies16COPY requirements.txt .17RUN pip install --no-cache-dir -r requirements.txt18 19# Copy rest of the app code20COPY . .21 22# Create folders23RUN mkdir -p uploads outputs24 25# Run the Flask app26CMD ["python", "app.py"]27 