From a8a036fa174a06e641b3107bbeb8daa4deecae4a Mon Sep 17 00:00:00 2001
From: Konstantinos Samaras-Tsakiris <ksamtsak@gmail.com>
Date: Tue, 21 Sep 2021 16:08:50 +0200
Subject: [PATCH] Fix broken links in nginx

---
 images/Dockerfile | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/images/Dockerfile b/images/Dockerfile
index 393edb2d0..0edeb81d1 100644
--- a/images/Dockerfile
+++ b/images/Dockerfile
@@ -126,10 +126,10 @@ ENV PATH=$PATH:${DRUPAL_APP_DIR}/vendor/bin
 RUN cp ${DRUPAL_APP_DIR}/composer.json ${DRUPAL_APP_DIR}/composer.admins.json
 
 # Put symlinks for profiles/themes/modules to a path where old Drupal sites expect to find them
-RUN ln -s ${DRUPAL_APP_DIR}/web/profiles/contrib/cern-install-profiles/cern ${DRUPAL_APP_DIR}/web/profiles/cern && \
-    ln -s ${DRUPAL_APP_DIR}/web/profiles/contrib/cern-install-profiles/easystart ${DRUPAL_APP_DIR}/web/profiles/easystart && \
-    ln -s ${DRUPAL_APP_DIR}/web/themes/custom/cern-theme ${DRUPAL_APP_DIR}/web/themes/custom/cernclean &&\
-    ln -s ${DRUPAL_APP_DIR}/web/themes/custom/cern-base-theme ${DRUPAL_APP_DIR}/web/themes/custom/cernbase
+RUN ln -s contrib/cern-install-profiles/cern ${DRUPAL_APP_DIR}/web/profiles/cern && \
+    ln -s contrib/cern-install-profiles/easystart ${DRUPAL_APP_DIR}/web/profiles/easystart && \
+    ln -s cern-theme ${DRUPAL_APP_DIR}/web/themes/custom/cernclean &&\
+    ln -s cern-base-theme ${DRUPAL_APP_DIR}/web/themes/custom/cernbase
 
 # Add extra configurations
 # At this point, composer has created the required settings.php through:
-- 
GitLab