]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - support/docker/production/Dockerfile.bullseye
Upgrade client dependencies
[github/Chocobozzz/PeerTube.git] / support / docker / production / Dockerfile.bullseye
index e55da330708ac4b5c0c003707e11e79feb216b9a..267d7f4eb4c3e240d041592ca5a93b11254a0b3d 100644 (file)
@@ -1,8 +1,8 @@
-FROM node:14-bullseye-slim
+FROM node:16-bullseye-slim
 
 # Install dependencies
 RUN apt update \
- && apt install -y --no-install-recommends openssl ffmpeg python3 ca-certificates gnupg gosu build-essential curl \
+ && apt install -y --no-install-recommends openssl ffmpeg python3 ca-certificates gnupg gosu build-essential curl git \
  && gosu nobody true \
  && rm /var/lib/apt/lists/* -fR
 
@@ -37,10 +37,10 @@ VOLUME /data
 VOLUME /config
 
 COPY ./support/docker/production/entrypoint.sh /usr/local/bin/entrypoint.sh
-ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
+ENTRYPOINT [ "/usr/local/bin/entrypoint.sh" ]
 
 # Expose API and RTMP
 EXPOSE 9000 1935
 
 # Run the application
-CMD ["npm", "start"]
+CMD [ "node", "dist/server" ]