FROM python:3.12-slim RUN apt-get update && apt-get install -y --no-install-recommends ffmpeg fonts-noto-cjk && rm -rf /var/lib/apt/lists/* WORKDIR /app COPY apps/python/ . RUN pip install --no-cache-dir . && python -m unittest discover -s tests -v RUN useradd --create-home exporter USER exporter ENTRYPOINT ["prompt-export"]