Skip to content

Commit

Permalink
Pre-build PeerTube again in dev Dockerfile.
Browse files Browse the repository at this point in the history
PeerTube pre-build was removed in #207 but is still valuable.
  • Loading branch information
jankeromnes authored and Chocobozzz committed Jan 25, 2018
1 parent a585af3 commit 897cab4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions support/docker/dev/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 897cab4

Please sign in to comment.