FROM jjanzic/docker-python3-opencv RUN apt-get update && apt-get install -y --no-install-recommends \ bzip2 \ g++ \ git \ libgl1-mesa-glx \ libglib2.0-0 \ wget \ && \ rm -rf /var/lib/apt/lists/* RUN pip install Cython==0.29.36 RUN git clone https://github.com/Li-Zhaoxi/AAMED.git && \ cd AAMED/python && \ python setup.py build_ext --inplace && \ python setup.py install # COPY test.py /opt/build/AAMED/python/ # RUN cd /opt/build/AAMED/python && python test.py COPY . . RUN pip install -r requirements.txt CMD ["python", "/opt/build/app.py"]