]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - support/docker/production/Dockerfile.buster
Translated using Weblate (Catalan)
[github/Chocobozzz/PeerTube.git] / support / docker / production / Dockerfile.buster
index 5af8aa29ab6af3ea62e276eb072f3654700e62ce..2ff0591f9666ee85e8d81eaefadd0993893e3814 100644 (file)
@@ -1,4 +1,4 @@
-FROM node:10-buster-slim
+FROM node:12-buster-slim
 
 # Allow to pass extra options to the npm run build
 # eg: --light --light-fr to not build all client languages
@@ -7,7 +7,7 @@ ARG NPM_RUN_BUILD_OPTS
 
 # Install dependencies
 RUN apt update \
- && apt install -y --no-install-recommends openssl ffmpeg python ca-certificates gnupg gosu \
+ && apt install -y --no-install-recommends openssl ffmpeg python ca-certificates gnupg gosu build-essential curl \
  && gosu nobody true \
  && rm /var/lib/apt/lists/* -fR
 
@@ -41,6 +41,8 @@ VOLUME /config
 COPY ./support/docker/production/entrypoint.sh /usr/local/bin/entrypoint.sh
 ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
 
+# Expose API and RTMP
+EXPOSE 9000 1935
+
 # Run the application
 CMD ["npm", "start"]
-EXPOSE 9000