diff options
author | Jan Keromnes <janx@linux.com> | 2018-01-16 16:46:04 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-01-16 16:46:04 +0100 |
commit | b270ad07f13fa4125fbade6208596071329bc92f (patch) | |
tree | 5f6e2fa23ccc07705d978fd5fea3221e73f8efc1 /support/docker/dev/Dockerfile | |
parent | e28d531fc5656c47f82426ac1417666a092bb9de (diff) | |
download | PeerTube-b270ad07f13fa4125fbade6208596071329bc92f.tar.gz PeerTube-b270ad07f13fa4125fbade6208596071329bc92f.tar.zst PeerTube-b270ad07f13fa4125fbade6208596071329bc92f.zip |
Add Janitor configuration file for PeerTube. (#204)
Diffstat (limited to 'support/docker/dev/Dockerfile')
-rw-r--r-- | support/docker/dev/Dockerfile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/support/docker/dev/Dockerfile b/support/docker/dev/Dockerfile index 2328140fb..ccad92f6b 100644 --- a/support/docker/dev/Dockerfile +++ b/support/docker/dev/Dockerfile | |||
@@ -15,6 +15,10 @@ WORKDIR /home/user/PeerTube | |||
15 | # Configure Cloud9 IDE to use PeerTube's source directory as workspace (-w). | 15 | # Configure Cloud9 IDE to use PeerTube's source directory as workspace (-w). |
16 | RUN sudo sed -i "s/-w \/home\/user/-w \/home\/user\/PeerTube/" /etc/supervisord.conf | 16 | RUN sudo sed -i "s/-w \/home\/user/-w \/home\/user\/PeerTube/" /etc/supervisord.conf |
17 | 17 | ||
18 | # Configure Janitor for PeerTube. | ||
19 | ADD janitor.json /home/user/ | ||
20 | RUN sudo chown user:user /home/user/janitor.json | ||
21 | |||
18 | # Configure and build PeerTube. | 22 | # Configure and build PeerTube. |
19 | RUN yarn install \ | 23 | RUN yarn install \ |
20 | && npm run build | 24 | && npm run build |