Dockerfile 484 B

1234567891011121314
  1. FROM sharelatex/sharelatex:5.3.0
  2. # Update copyright year
  3. COPY pr_22950.patch .
  4. RUN patch -p0 < pr_22950.patch && rm pr_22950.patch
  5. # Update Mongoose
  6. RUN npm install mongoose@^8.9.5 --save -w services/web \
  7. && npm install mongodb@6.12.0 --save \
  8. -w services/chat -w services/contacts -w services/docstore \
  9. -w services/history-v1 -w libraries/mongo-utils \
  10. && npm install mongodb@6.12.0 --save \
  11. && rm -rf /root/.cache /root/.npm $(find /tmp/ -mindepth 1 -maxdepth 1)