cache in /var/cache

this should be configurable
This commit is contained in:
boyska 2018-08-17 16:00:14 +02:00
parent ad82d50bbd
commit 3ce4a0e87f
2 changed files with 3 additions and 2 deletions

View file

@ -2,4 +2,5 @@ FROM ulsmith/alpine-apache-php7
COPY ./ /app/public/
RUN chown -R apache:root /app/public
RUN mkdir -p /var/cache/rss-bridge/ && \
chown -R apache:root /app/public /var/cache/rss-bridge/

View file

@ -4,7 +4,7 @@ require_once __DIR__ . '/lib/RssBridge.php';
define('PHP_VERSION_REQUIRED', '5.6.0');
// Specify directory for cached files (using FileCache)
define('CACHE_DIR', __DIR__ . '/cache');
define('CACHE_DIR', '/var/cache/rss-bridge');
// Specify path for whitelist file
define('WHITELIST_FILE', __DIR__ . '/whitelist.txt');