FROM python:3.9 WORKDIR /code COPY . . RUN apt-get update && apt-get install -y libgl1-mesa-glx RUN pip install --no-cache-dir -r requirements.txt CMD ["python", "script.py"]