FROM python:3.13-slim ENV PYTHONUNBUFFERED=1 \ PYTHONDONTWRITEBYTECODE=1 WORKDIR /app COPY requirements.txt . RUN pip install --no-cache-dir --upgrade pip \ && pip install --no-cache-dir -r requirements.txt COPY . . RUN chmod +x /app/entrypoint.sh EXPOSE 12434 ENTRYPOINT ["/app/entrypoint.sh"]