FROM python:3.11-slim WORKDIR /app # ffmpeg for librosa audio decoding, libsndfile for soundfile RUN apt-get update && apt-get install -y --no-install-recommends \ ffmpeg \ libsndfile1 && \ rm -rf /var/lib/apt/lists/* COPY pyproject.toml . RUN pip install --no-cache-dir . COPY lightsync/ lightsync/ EXPOSE 8000 CMD ["python", "-m", "lightsync"]