FROM python:3.9.12 RUN apt-get update && \ apt-get install -y libgl1-mesa-glx WORKDIR /app COPY . /app RUN bash scripts/download_models.sh RUN pip install -r requirements.txt EXPOSE 80 CMD ["gunicorn", "-b", ":80", "app:app"]