diff --git a/Dockerfile b/Dockerfile index 5c5a1e9..acfd4d2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,8 +10,8 @@ ENV EXTENSIONS_VERSION b63f55d6fdd8e93da846bb741c3fed12d50909be RUN mkdir -p /app/code WORKDIR /app/code -RUN wget "https://github.com/FreshRSS/FreshRSS/archive/${VERSION}.tar.gz" -O - \ - | tar -xz --strip-components=1 +RUN wget "https://github.com/FreshRSS/FreshRSS/archive/${VERSION}.tar.gz" -O - | tar -xz --strip-components=1 && \ + sed -e "s|define('EXTENSIONS_PATH'.*);|define('EXTENSIONS_PATH', '/app/data/extensions');|" -i /app/code/constants.php RUN mv data data-orig && ln -s /app/data data