From 897cab462b03e292684a5d2490ceedde965e0b88 Mon Sep 17 00:00:00 2001 From: Jan Keromnes Date: Thu, 25 Jan 2018 12:35:12 +0100 Subject: Pre-build PeerTube again in dev Dockerfile. PeerTube pre-build was removed in #207 but is still valuable. --- support/docker/dev/Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'support/docker/dev/Dockerfile') 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 -- cgit v1.2.3