4 docker build -t my_peertube_dev .
6 1. Start the container:
8 docker run -d -i -p 3000:3000 -p 9000:9000 --name peertube my_peertube_dev
10 This will create a new Docker volume containing PeerTube sources.
12 1. Start PeerTube inside the container:
14 docker exec -it peertube npm run dev
16 1. In another window, find the path to the Docker volume
18 docker inspect peertube | less +/Mounts
20 You can now make changes to the files. They should be automatically recompiled.