From 96d7b5f06cb468859a0cc1388ec3aafa01f7d91a Mon Sep 17 00:00:00 2001
From: David Mehren <git@herrmehren.de>
Date: Sat, 18 Dec 2021 11:21:27 +0100
Subject: [PATCH] Merge some build steps

---
 Dockerfile | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index ad84c01..00e15a8 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -19,11 +19,9 @@ ARG login_text
 WORKDIR /var/www/sharelatex/web
 
 # install latest npm
-RUN npm install -g npm
-RUN npm install ldapts-search ldapts ldap-escape
+RUN npm install -g npm && npm install ldapts-search ldapts ldap-escape
 
-RUN apt-get update
-RUN apt-get -y install python-pygments
+RUN apt-get update && apt-get -y install python-pygments
 
 # overwrite some files
 COPY --from=src /src/ldap-overleaf-sl/sharelatex/AuthenticationManager.js /var/www/sharelatex/web/app/src/Features/Authentication/
-- 
GitLab