git-dev分支push触发jenkins, 自动对相应的微服务进行构建
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
279 B

2 years ago
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 .