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