diff --git a/Dockerfile b/Dockerfile index b2eaf00..253c80b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -26,7 +26,8 @@ RUN npm config set registry https://registry.npmmirror.com # add oauth router to router.js #head -n -1 router.js > temp.txt ; mv temp.txt router.js -RUN git clone https://mirrors.sustech.edu.cn/git/sustech-cra/overleaf-ldap-oauth2.git /src +COPY ldap-overleaf-sl /src/ldap-overleaf-sl +#RUN git clone https://mirrors.sustech.edu.cn/git/sustech-cra/overleaf-ldap-oauth2.git /src RUN cat /src/ldap-overleaf-sl/sharelatex/router-append.js RUN head -n -2 /overleaf/services/web/app/src/router.js > temp.txt ; mv temp.txt /overleaf/services/web/app/src/router.js