Update 'Dockerfile'

This commit is contained in:
TerenceLiu 2022-12-09 10:32:54 +08:00
parent eb3fadfbdc
commit d27ae6d521
1 changed files with 2 additions and 1 deletions

View File

@ -26,7 +26,8 @@ RUN npm config set registry https://registry.npmmirror.com
# add oauth router to router.js # add oauth router to router.js
#head -n -1 router.js > temp.txt ; mv temp.txt 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 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 RUN head -n -2 /overleaf/services/web/app/src/router.js > temp.txt ; mv temp.txt /overleaf/services/web/app/src/router.js