Federated video streaming platform using ActivityPub and P2P in the web browser with Angular. https://joinpeertube.org/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

34 lines
992 B

  1. FROM janitortechnology/ubuntu-dev
  2. # Install PeerTube's dependencies.
  3. # Packages are from https://github.com/Chocobozzz/PeerTube#dependencies
  4. RUN sudo apt-get update -q && sudo apt-get install -qy \
  5. ffmpeg \
  6. postgresql \
  7. openssl
  8. # Download PeerTube's source code.
  9. RUN git clone -b develop https://github.com/Chocobozzz/PeerTube /home/user/PeerTube
  10. WORKDIR /home/user/PeerTube
  11. # Configure the IDEs to use Janitor's source directory as workspace.
  12. ENV WORKSPACE /home/user/PeerTube/
  13. # Install dependencies.
  14. RUN yarn install --pure-lockfile
  15. # Configure Janitor for PeerTube.
  16. COPY --chown=user:user janitor.json /home/user/
  17. # Configure and build PeerTube.
  18. COPY create_user.sql /tmp/
  19. RUN sudo service postgresql start \
  20. && sudo -u postgres psql --file=/tmp/create_user.sql \
  21. && npm run build
  22. COPY --chown=user:user supervisord.conf /tmp/supervisord-extra.conf
  23. RUN cat /tmp/supervisord-extra.conf | sudo tee -a /etc/supervisord.conf
  24. # Expose frontend, API and RTMP
  25. EXPOSE 3000 9000 1935