X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=support%2Fdocker%2Fproduction%2FDockerfile.buster;h=4579360902a8496dcca238d3b501906fb85b1b41;hb=94f2bbe90bc4d242f637f264c41481b8a5f8e004;hp=dde643782347f56177aa0e678576b3ae00f5177b;hpb=a6f2e1275c25caac77a51ecb06e0be6c12123988;p=github%2FChocobozzz%2FPeerTube.git diff --git a/support/docker/production/Dockerfile.buster b/support/docker/production/Dockerfile.buster index dde643782..457936090 100644 --- a/support/docker/production/Dockerfile.buster +++ b/support/docker/production/Dockerfile.buster @@ -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