aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/docker/dev/usage.md
diff options
context:
space:
mode:
authoram97 <andy.maldo@hotmail.com>2018-10-09 17:35:02 +0200
committerChocobozzz <me@florianbigard.com>2018-10-09 17:35:02 +0200
commitee7c25c767c357bd12570889f8ccd79ba9ea4eb9 (patch)
tree06478edd377bf8cfcf5e69a26fb696b37491ffc8 /support/docker/dev/usage.md
parente2dc00a8feb8fe0ebfe92eb88aa13b1347b0fbf4 (diff)
downloadPeerTube-ee7c25c767c357bd12570889f8ccd79ba9ea4eb9.tar.gz
PeerTube-ee7c25c767c357bd12570889f8ccd79ba9ea4eb9.tar.zst
PeerTube-ee7c25c767c357bd12570889f8ccd79ba9ea4eb9.zip
Create new Docker dev image (#1173)
* Move the old dev docker files to support/docker/janitor * Create new Docker dev image
Diffstat (limited to 'support/docker/dev/usage.md')
-rw-r--r--support/docker/dev/usage.md20
1 files changed, 20 insertions, 0 deletions
diff --git a/support/docker/dev/usage.md b/support/docker/dev/usage.md
new file mode 100644
index 000000000..319d7db30
--- /dev/null
+++ b/support/docker/dev/usage.md
@@ -0,0 +1,20 @@
1### Usage
21. Build the image:
3 ```
4 docker build -t my_peertube_dev .
5 ```
61. Start the container:
7 ```
8 docker run -d -i -p 3000:3000 -p 9000:9000 --name peertube my_peertube_dev
9 ```
10 This will create a new Docker volume containing PeerTube sources.
11
121. Start PeerTube inside the container:
13 ```
14 docker exec -it peertube npm run dev
15 ```
161. In another window, find the path to the Docker volume
17 ```
18 docker inspect peertube | less +/Mounts
19 ```
20 You can now make changes to the files. They should be automatically recompiled.