FROM ubuntu:22.04 ENV DEBIAN_FRONTEND=noninteractive RUN apt-get update && apt-get install -y build-essential && apt-get install -y libopencv-dev && apt-get install -y python3.10 python3-pip #FROM python:3.9 WORKDIR /hab COPY ./app . RUN pip3 install -r requirements.txt ENV MPLCONFIGDIR=/tmp/MPLCONFIGDIR/ ENV YOLO_CONFIG_DIR=/tmp/YOLO CMD gunicorn --bind 0.0.0.0:8888 app:app