Skip to content
Snippets Groups Projects
Commit 1ca9579f authored by Igor Witz's avatar Igor Witz
Browse files

ça construit bien

parent bfe3967c
No related branches found
No related tags found
1 merge request!9Correction vulnerabilites pica etherpad
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 \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment