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

Move init commands to single script & update CMD.

parent c24d63d2
......@@ -36,6 +36,7 @@ RUN /srv/etherpad/etherpad/bin/
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
ADD docker/run_etherpad /srv/etherpad/bin
CMD ["/srv/etherpad/bin/init_pgsql_db", "&&", "supervisord", "-c", "/etc/supervisor/supervisor.conf", "-n"]
CMD ["/srv/etherpad/bin/run_etherpad"]
set -e
supervisord -c /etc/supervisor/supervisor.conf -n
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