FROM python:3.12-slim
WORKDIR /app
RUN apt-get update && apt-get install -y \
git \
build-essential \
&& rm -rf /var/lib/apt/lists/*
COPY sdks/python /app/sdks/python
WORKDIR /app/sdks/python
RUN pip install --no-cache-dir -e .
COPY sdks/python/examples /app/examples
WORKDIR /app
CMD ["sh", "-c", "python examples/hello_world.py && python examples/sprite_demo.py && python examples/3d_scene.py"]