]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - support/docker/dev/usage.md
Merge branch 'release/v1.0.0' into develop
[github/Chocobozzz/PeerTube.git] / support / docker / dev / usage.md
CommitLineData
ee7c25c7 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.