diff options
author | Jan Keromnes <janx@linux.com> | 2018-01-25 12:35:12 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-01-25 14:48:06 +0100 |
commit | 897cab462b03e292684a5d2490ceedde965e0b88 (patch) | |
tree | f15bd83db6f2169d8f1e8bd97accb4c5a673d13b /support/docker/dev | |
parent | a585af352c8f78f62a964f81192516ee6a2556e1 (diff) | |
download | PeerTube-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.
Diffstat (limited to 'support/docker/dev')
-rw-r--r-- | support/docker/dev/Dockerfile | 5 |
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. |
26 | ADD create_user.sql /tmp/ | 26 | ADD create_user.sql /tmp/ |
27 | RUN sudo service postgresql start && \ | 27 | RUN 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 | ||
30 | ADD supervisord.conf /tmp/supervisord-extra.conf | 31 | ADD supervisord.conf /tmp/supervisord-extra.conf |
31 | RUN cat /tmp/supervisord-extra.conf | sudo tee -a /etc/supervisord.conf | 32 | RUN cat /tmp/supervisord-extra.conf | sudo tee -a /etc/supervisord.conf |