diff --git a/images/etherpad/Dockerfile b/images/etherpad/Dockerfile index f91a1bf..292adfc 100644 --- a/images/etherpad/Dockerfile +++ b/images/etherpad/Dockerfile @@ -21,7 +21,6 @@ FROM ${REPO_LOCATION}minideb COPY --from=builder /srv/etherpad /srv/etherpad COPY settings.json /srv/etherpad/ -ENV PYTHON /usr/bin/python3 ENV NVM_DIR /root/.nvm ENV NODE_VERSION lts/erbium @@ -40,10 +39,10 @@ RUN mkdir -p /.npm \ && nvm alias default $NODE_VERSION \ && nvm use default \ && cd /srv/etherpad \ - && install_packages python3 make gcc g++ libc-dev libc++-dev \ + && install_packages python3 make sqlite3 libsqlite3-dev gcc g++ libc-dev libc++-dev \ && ln -s /usr/bin/python3 /usr/bin/python \ && src/bin/installDeps.sh \ - && npm install sqlite3 \ + && cd src && npm install sqlite3 && cd .. \ && rm -rf /srv/etherpad/.git /.npm/_cacache \ && chown -R 70:70 /.npm /srv/etherpad