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

Coorection de bug -> ça marche

parent 1ca9579f
No related branches found
No related tags found
1 merge request!9Correction vulnerabilites pica etherpad
......@@ -19,7 +19,6 @@ RUN apt-get update && \
git \
gzip \
libssl-dev \
mysql-client \
pkg-config \
python \
unzip && \
......@@ -41,7 +40,9 @@ RUN apt-get update && \
FROM base
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh && \
RUN apt-get update && \
apt-get install -y mysql-client && \
chmod +x /entrypoint.sh && \
mkdir -p /opt/etherpad-lite && \
chown -R node /opt/etherpad-lite && \
usermod -d /opt/etherpad-lite node && \
......@@ -54,8 +55,7 @@ USER node
WORKDIR /opt/etherpad-lite
# installation de dépendances supplémentaires
RUN ls -al && \
bin/installDeps.sh && \
RUN 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