FROM ubuntu:20.04 RUN apt-get update RUN DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get install -y tzdata RUN apt-get install -y \ build-essential \ cmake \ ffmpeg \ libffi-dev \ libgdbm-dev \ libgl1-mesa-glx \ libleptonica-dev \ libncurses5-dev \ libnss3-dev \ libreadline-dev \ libssl-dev \ ninja-build \ pkg-config \ psmisc \ python3.9 \ python3-pip \ python3-opencv \ wget \ zlib1g-dev RUN pip3 install flask[async] RUN pip3 install flask-sqlalchemy RUN pip3 install mediapipe RUN pip3 install opencv-python RUN pip3 install paho-mqtt RUN pip3 install pymysql RUN pip3 install pytz RUN pip3 install requests