[survey-web/oscp] Symlink the old upload location



commit 35d77b3702b64b797b5b24e796e9e55cfc022e3a
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date:   Thu Jan 7 18:59:05 2021 +0100

    Symlink the old upload location
    
    LimeSurvey stores the upload/themes location in the database. Woo!

 Dockerfile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/Dockerfile b/Dockerfile
index bb528d9..d6a3103 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -9,6 +9,8 @@ ADD ipa-ca.crt /etc/ipa-ca.crt
 ADD ldap.conf /etc/ldap/ldap.conf
 ADD entrypoint.sh /entrypoint.sh
 
-RUN chown -R root:root /var/www/html/application/config
+RUN chown -R root:root /var/www/html/application/config && \
+    install -d /app/limesurvey/ && \
+    ln -s /var/www/html/upload/ /app/limesurvey/upload/
 
 ENTRYPOINT ["/entrypoint.sh"]


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]