projects
/
oweals
/
peertube.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a585af3
)
Pre-build PeerTube again in dev Dockerfile.
author
Jan Keromnes
<janx@linux.com>
Thu, 25 Jan 2018 11:35:12 +0000
(12:35 +0100)
committer
Chocobozzz
<me@florianbigard.com>
Thu, 25 Jan 2018 13:48:06 +0000
(14:48 +0100)
PeerTube pre-build was removed in #207 but is still valuable.
support/docker/dev/Dockerfile
patch
|
blob
|
history
diff --git
a/support/docker/dev/Dockerfile
b/support/docker/dev/Dockerfile
index 8a99496a637916812bd6601bf309ca2b85e8707b..0118a824852427e33bdb76e833d3e0428c3527cd 100644
(file)
--- a/
support/docker/dev/Dockerfile
+++ b/
support/docker/dev/Dockerfile
@@
-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