From ab00e5ee080c77d699954064142c042c7ccb86fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emmanuel=20BENO=C3=8ET?= Date: Thu, 2 Jan 2025 10:58:09 +0100 Subject: [PATCH] fix: revert cache dir change --- Dockerfile | 5 +---- scripts/config.inc | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1478710..0897af6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -63,15 +63,12 @@ EOC a2ensite lwb5-main a2ensite lwb5-admin - mkdir /var/cache/lw - chmod 1777 /var/cache/lw - mkdir /var/spool/pgen chgrp www-data /var/spool/pgen chmod 1775 /var/spool/pgen EOF -VOLUME /var/spool/pgen /var/cache/lw +VOLUME /var/spool/pgen EXPOSE 80 81 ENTRYPOINT ["/opt/lwb5/run-lwb5.sh"] diff --git a/scripts/config.inc b/scripts/config.inc index 6313d14..8ab50cb 100644 --- a/scripts/config.inc +++ b/scripts/config.inc @@ -12,7 +12,7 @@ $config = array( "scriptdir" => __DIR__, // Path to the cache - "cachedir" => "/var/cache/lw", + "cachedir" => "/tmp/lwcache", // Debugging level "debug" => 2,