From b01984f7ea287631212fac75fef3a005a9fbcc37 Mon Sep 17 00:00:00 2001 From: Kesara Rathnayake Date: Wed, 29 Jan 2025 18:24:10 +1300 Subject: [PATCH] build: Add cache directory (#570) Fixes #568 --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 659bcc5..582afbf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -121,8 +121,9 @@ RUN mkdir -p tmp && \ # cache configuration RUN mkdir -p /tmp/cache/xml2rfc && \ mkdir -p /tmp/cache/refcache && \ + mkdir /var/www/.cache && \ ln -sf /tmp/cache/xml2rfc /var/cache/xml2rfc && \ - chown -R www-data:0 /tmp/cache + chown -R www-data:0 /tmp/cache /var/www/.cache ENV KRAMDOWN_REFCACHEDIR=/tmp/cache/refcache