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:
Girish Ramakrishnan 2018-05-30 15:10:02 -07:00
parent 753a9fb251
commit cbc8866253
1 changed files with 2 additions and 2 deletions

View File

@ -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