]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - support/docker/production/Dockerfile.buster
Fix docker webserver build
[github/Chocobozzz/PeerTube.git] / support / docker / production / Dockerfile.buster
index dde643782347f56177aa0e678576b3ae00f5177b..4579360902a8496dcca238d3b501906fb85b1b41 100644 (file)
@@ -7,7 +7,7 @@ ARG NPM_RUN_BUILD_OPTS
 
 # Install dependencies
 RUN apt update \
- && apt install -y --no-install-recommends openssl ffmpeg python gnupg gosu \
+ && apt install -y --no-install-recommends openssl ffmpeg python ca-certificates gnupg gosu \
  && gosu nobody true \
  && rm /var/lib/apt/lists/* -fR
 
@@ -38,9 +38,11 @@ ENV NODE_CONFIG_DIR /config
 VOLUME /data
 VOLUME /config
 
-COPY ./support/docker/production/docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh
-ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh"]
+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