From: Jan Keromnes Date: Thu, 25 Jan 2018 11:35:12 +0000 (+0100) Subject: Pre-build PeerTube again in dev Dockerfile. X-Git-Tag: v0.0.16-alpha~24 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=897cab462b03e292684a5d2490ceedde965e0b88;p=oweals%2Fpeertube.git Pre-build PeerTube again in dev Dockerfile. PeerTube pre-build was removed in #207 but is still valuable. --- diff --git a/support/docker/dev/Dockerfile b/support/docker/dev/Dockerfile index 8a99496a6..0118a8248 100644 --- a/support/docker/dev/Dockerfile +++ b/support/docker/dev/Dockerfile @@ -24,8 +24,9 @@ RUN sudo chown user:user /home/user/janitor.json # Configure and build PeerTube. ADD create_user.sql /tmp/ -RUN sudo service postgresql start && \ - sudo -u postgres psql --file=/tmp/create_user.sql +RUN sudo service postgresql start \ + && sudo -u postgres psql --file=/tmp/create_user.sql \ + && npm run build ADD supervisord.conf /tmp/supervisord-extra.conf RUN cat /tmp/supervisord-extra.conf | sudo tee -a /etc/supervisord.conf