diff options
Diffstat (limited to 'support/docker')
-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 |