mirror of
https://git.cloudron.io/cloudron/freshrss-app
synced 2025-09-02 05:15:12 +00:00
Fix extension path
The issue is that the code that serves file for extensions uses the realpath(extensions_dir). Fixes #2
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user