mildstone deploy
This commit is contained in:
@@ -13,10 +13,17 @@ ARG admin_is_sysadmin
|
||||
# set workdir (might solve issue #2 - see https://stackoverflow.com/questions/57534295/)
|
||||
WORKDIR /overleaf/services/web
|
||||
|
||||
|
||||
|
||||
RUN npm cache clean --force && \
|
||||
npm install -g npm@10.5.0
|
||||
|
||||
|
||||
# install latest npm
|
||||
RUN npm install -g npm && \
|
||||
RUN \
|
||||
## clean cache (might solve issue #2)
|
||||
# npm cache clean --force && \
|
||||
##npm cache clean --force && \
|
||||
##npm install -g npm@latest && \
|
||||
npm install ldap-escape ldapts-search ldapts@3.2.4 && \
|
||||
# npm install bcrypt@5.0.0 && \
|
||||
## This variant of updateing texlive does not work
|
||||
@@ -85,3 +92,6 @@ RUN sed -iE "s/email@example.com/${login_text:-user}/g" /overleaf/services/web/a
|
||||
# echo "/usr/cron.weekly/nginx-cert.sh 2>&1 > /dev/null" > /etc/rc.local && \
|
||||
# chmod 0744 /etc/rc.local
|
||||
|
||||
|
||||
COPY update_texlive.sh /overleaf/services/web
|
||||
RUN sh update_texlive.sh
|
||||
|
||||
Reference in New Issue
Block a user