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,