From 4c006a0f3caf090c97cc39f315925deb3a30e0d6 Mon Sep 17 00:00:00 2001 From: Rootkit <1576235794@qq.com> Date: Mon, 29 Mar 2021 10:52:21 +0800 Subject: [PATCH] use local git repo to build image cuz clone repo from github usually failed. --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index c494cd0..8c5f855 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,7 +22,8 @@ RUN echo \ CMD ["export", "http_proxy=http://xx.xx.xx.xx:7890"] CMD ["export", "https_proxt=http://xx.xx.xx.xx:7890"] CMD ["export", "all_proxt=socks5://xx.xx.xx.xx:7891"] -RUN git clone https://github.com/iceyhexman/onlinetools.git /onlinetools +RUN mkdir /onlinetools +COPY ./* /onlinetools WORKDIR /onlinetools RUN pip install -r requirements.txt && \ rm -fr ~/.cache/pip