From: Guillaume Pellerin Date: Thu, 6 Nov 2014 23:48:25 +0000 (+0100) Subject: fix postgresql init X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=9f1cee9d714af6803502bb65e057069e38748edf;p=timeside.git fix postgresql init --- diff --git a/Dockerfile b/Dockerfile index 1b8cbec..4f5bc11 100644 --- a/Dockerfile +++ b/Dockerfile @@ -34,10 +34,10 @@ run pip install uwsgi ipython add . /opt/TimeSide # setup postgresql DB -run /etc/init.d/postgresql start user postgres -run psql --command "CREATE USER docker WITH SUPERUSER PASSWORD 'docker';" -run createdb -O docker docker +run /etc/init.d/postgresql start &&\ + psql --command "CREATE USER docker WITH SUPERUSER PASSWORD 'docker';" &&\ + createdb -O docker docker user root # setup all the configfiles