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/installDeps.sh
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
EXPOSE 9001
CMD ["/srv/etherpad/bin/init_pgsql_db", "&&", "supervisord", "-c", "/etc/supervisor/supervisor.conf", "-n"]
CMD ["/srv/etherpad/bin/run_etherpad"]
#!/bin/sh
set -e
/srv/etherpad/bin/init_pgsql_db
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