mirror of
https://github.com/daledavies/jump.git
synced 2026-01-08 08:22:07 +01:00
Remove need for application cache directory after changes to icon cache
This commit is contained in:
@@ -62,8 +62,8 @@ COPY docker/php.ini /etc/php81/conf.d/custom.ini
|
||||
COPY docker/entrypoint.sh /usr/local/bin/
|
||||
|
||||
# Create the cache directories and change owner of everything we need.
|
||||
RUN mkdir -p /var/www/cache/application \
|
||||
&& chown -R jumpapp:jumpapp /var/www/html /var/www/cache/application \
|
||||
RUN mkdir /var/www/cache \
|
||||
&& chown -R jumpapp:jumpapp /var/www/html /var/www/cache \
|
||||
&& chmod +x /usr/local/bin/entrypoint.sh
|
||||
|
||||
# Expose the port we configured for nginx.
|
||||
|
||||
@@ -56,8 +56,8 @@ COPY docker/xdebug.ini /etc/php81/conf.d/50_xdebug.ini
|
||||
COPY docker/entrypoint.sh /usr/local/bin/
|
||||
|
||||
# Create the cache directories and change owner of everything we need.
|
||||
RUN mkdir -p /var/www/cache/application \
|
||||
&& chown -R jumpapp:jumpapp /var/www/html /var/www/cache/application \
|
||||
RUN mkdir /var/www/cache \
|
||||
&& chown -R jumpapp:jumpapp /var/www/html /var/www/cache \
|
||||
&& chmod +x /usr/local/bin/entrypoint.sh
|
||||
|
||||
RUN mkdir -p /tmp/xdebug \
|
||||
|
||||
@@ -108,7 +108,7 @@ class Cache {
|
||||
if ($this->config->parse_bool($this->config->get('cachebypass'))) {
|
||||
$this->storage = new Caching\Storages\DevNullStorage();
|
||||
} else {
|
||||
$this->storage = new Caching\Storages\FileStorage($this->config->get('cachedir').'/application');
|
||||
$this->storage = new Caching\Storages\FileStorage($this->config->get('cachedir'));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user