aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJan Keromnes <janx@linux.com>2018-01-25 12:35:12 +0100
committerChocobozzz <me@florianbigard.com>2018-01-25 14:48:06 +0100
commit897cab462b03e292684a5d2490ceedde965e0b88 (patch)
treef15bd83db6f2169d8f1e8bd97accb4c5a673d13b
parenta585af352c8f78f62a964f81192516ee6a2556e1 (diff)
downloadPeerTube-897cab462b03e292684a5d2490ceedde965e0b88.tar.gz
PeerTube-897cab462b03e292684a5d2490ceedde965e0b88.tar.zst
PeerTube-897cab462b03e292684a5d2490ceedde965e0b88.zip
Pre-build PeerTube again in dev Dockerfile.
PeerTube pre-build was removed in #207 but is still valuable.
-rw-r--r--support/docker/dev/Dockerfile5
1 files changed, 3 insertions, 2 deletions
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
24 24
25# Configure and build PeerTube. 25# Configure and build PeerTube.
26ADD create_user.sql /tmp/ 26ADD create_user.sql /tmp/
27RUN sudo service postgresql start && \ 27RUN sudo service postgresql start \
28 sudo -u postgres psql --file=/tmp/create_user.sql 28 && sudo -u postgres psql --file=/tmp/create_user.sql \
29 && npm run build
29 30
30ADD supervisord.conf /tmp/supervisord-extra.conf 31ADD supervisord.conf /tmp/supervisord-extra.conf
31RUN cat /tmp/supervisord-extra.conf | sudo tee -a /etc/supervisord.conf 32RUN cat /tmp/supervisord-extra.conf | sudo tee -a /etc/supervisord.conf