Commit 08137405 authored by Jordi Mallach's avatar Jordi Mallach 🔥 Committed by Maxime Buquet
Browse files

Instead of cloning, just ADD the whole repo to /srv.

parent 2e899b9d
......@@ -25,13 +25,14 @@ RUN apt-get update && apt-get install -y \
&& rm -rf /var/lib/apt/lists/*
# Grab the latest Git version
RUN mkdir -p /srv/etherpad/bin && cd /srv/etherpad && git clone https://gitlab.collabora.com/sysadmin/etherpad.git etherpad
# Prepare some workdirs
RUN mkdir -p /srv/etherpad/bin && mkdir -p /srv/etherpad/etherpad
# Install node dependencies
RUN /srv/etherpad/etherpad/bin/installDeps.sh
# Add conf files
ADD . /srv/etherpad/etherpad
ADD docker/settings.json.collabora /srv/etherpad/etherpad/settings.json
ADD docker/supervisor.conf /etc/supervisor/supervisor.conf
ADD docker/init_pgsql_db /srv/etherpad/bin
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment