FROM python:slim ADD main.py / RUN pip3 install requests flask -i https://mirrors.aliyun.com/pypi/simple && \ apt-get update && apt-get install -y git EXPOSE 7998 ENTRYPOINT ["sh", "-c", "exec $RUN_INSTRUCT"] #docker build -t jenkins_web_hook_trigger:001 -f Dockerfile .