FROM ubuntu:22.04 RUN apt-get update && apt-get install -y python3 python3-pip git && pip install --upgrade pip \ && git clone https://gitea.snsd0805.com/snsd0805/NTU-AI-HW5.git \ && cd NTU-AI-HW5 && pip install -r requirements.txt # opencv in docker container RUN echo 'alias python=python3' >> ~/.bashrc \ && echo 'alias pip=pip3' >> ~/.bashrc \ && apt-get update && apt-get install -y ffmpeg libsm6 libxext6 \ && pip uninstall opencv-python-headless \ && pip install opencv-python-headless WORKDIR /NTU-AI-HW5