]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - support/docker/dev/Dockerfile
Clearer docker doc hierarchy
[github/Chocobozzz/PeerTube.git] / support / docker / dev / Dockerfile
index 8e049f3f6a1390ba9214d646ddff35df044ce177..e41f5e1e2b6b146ee592ad822b1108c4992589e1 100644 (file)
@@ -17,7 +17,7 @@ RUN apt-get update -q && apt-get install -qy \
       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 \
@@ -39,8 +39,8 @@ RUN yarn install --pure-lockfile \
 # 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"]