Update 'Dockerfile'
This commit is contained in:
parent
eb3fadfbdc
commit
d27ae6d521
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue