diff --git a/pica-etherpad/Dockerfile b/pica-etherpad/Dockerfile index 61d001dbe065c59f3f9f24e81f75406dc2fd5799..9b903dfb2cededf79ae494b64289b126825265a9 100644 --- a/pica-etherpad/Dockerfile +++ b/pica-etherpad/Dockerfile @@ -1,7 +1,6 @@ -LABEL maintainer="antoine@barbare.me" - # déclaration unique des variables d'environnement FROM node:10.11.0-slim as base +LABEL maintainer="antoine@barbare.me" ARG ETHERPAD_VERSION_BUILD=1.7.0 ARG ETHERPAD_LANDING_PAGE_VERSION_BUILD=v0.1 @@ -44,17 +43,19 @@ FROM base COPY entrypoint.sh /entrypoint.sh RUN chmod +x /entrypoint.sh && \ mkdir -p /opt/etherpad-lite && \ + chown -R node /opt/etherpad-lite && \ usermod -d /opt/etherpad-lite node && \ rm -r /var/lib/apt/lists/* # import des fichiers téléchargés dans l'image downloader -COPY --from=downloader /opt/etherpad-lite /opt/etherpad-lite --chown=node +COPY --from=downloader --chown=node /opt/etherpad-lite /opt/etherpad-lite/ USER node WORKDIR /opt/etherpad-lite # installation de dépendances supplémentaires -RUN bin/installDeps.sh && \ +RUN ls -al && \ + bin/installDeps.sh && \ rm settings.json && \ npm install \ ep_align \