postgresql \
postgresql-contrib \
redis-server \
- && curl -sL https://deb.nodesource.com/setup_8.x | bash - \
+ && curl -sL https://deb.nodesource.com/setup_10.x | bash - \
&& curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \
&& echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list \
&& apt-get update \
# Expose PeerTube sources as a volume
VOLUME /home/user/PeerTube
-# Expose API and frontend
-EXPOSE 3000 9000
+# Expose frontend, API and RTMP
+EXPOSE 3000 9000 1935
# Start PostgreSQL and Redis
CMD ["service postgresql start && redis-server"]