FROM ubuntu:24.04 RUN apt-get update && apt-get install -y \ python3 \ python3-pip \ python3-venv \ cmake \ build-essential \ tzdata \ libmagic1 \ && rm -rf /var/lib/apt/lists/* WORKDIR /app COPY requirements.txt . RUN pip3 install --no-cache-dir --break-system-packages -r requirements.txt COPY . . RUN chmod +x /app/entrypoint.sh EXPOSE 8000 CMD ["/app/entrypoint.sh"]