FROM git.modelhub.org.cn:9443/enginex-iluvatar/bi100_corex:3.2.1-ubuntu20.04-py3.10-slim WORKDIR /workspace ENV LD_LIBRARY_PATH=/usr/local/corex/lib:/usr/local/openmpi/lib: COPY requirements.txt /workspace/ COPY whl /workspace/whl RUN pip install whl/*.whl -i https://mirrors.aliyun.com/pypi/simple/ RUN pip install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/ RUN pip install numpy==1.23.5 -i https://mirrors.aliyun.com/pypi/simple/ RUN apt install -y libgl1 COPY 1.jpg /workspace/ COPY test.py /workspace/ COPY app.py /workspace/ COPY pre_processor.py /workspace/ COPY run.sh /workspace/ RUN rm -rf whl CMD ["./run.sh"]