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:
parent
753a9fb251
commit
cbc8866253
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue