Pre-build PeerTube again in dev Dockerfile.
PeerTube pre-build was removed in #207 but is still valuable.
This commit is contained in:
parent
a585af352c
commit
897cab462b
|
@ -24,8 +24,9 @@ RUN sudo chown user:user /home/user/janitor.json
|
||||||
|
|
||||||
# Configure and build PeerTube.
|
# Configure and build PeerTube.
|
||||||
ADD create_user.sql /tmp/
|
ADD create_user.sql /tmp/
|
||||||
RUN sudo service postgresql start && \
|
RUN sudo service postgresql start \
|
||||||
sudo -u postgres psql --file=/tmp/create_user.sql
|
&& sudo -u postgres psql --file=/tmp/create_user.sql \
|
||||||
|
&& npm run build
|
||||||
|
|
||||||
ADD supervisord.conf /tmp/supervisord-extra.conf
|
ADD supervisord.conf /tmp/supervisord-extra.conf
|
||||||
RUN cat /tmp/supervisord-extra.conf | sudo tee -a /etc/supervisord.conf
|
RUN cat /tmp/supervisord-extra.conf | sudo tee -a /etc/supervisord.conf
|
||||||
|
|
Loading…
Reference in New Issue