]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Prefer using node instead of npm in dockerfile
authorChocobozzz <me@florianbigard.com>
Wed, 4 May 2022 07:06:44 +0000 (09:06 +0200)
committerChocobozzz <me@florianbigard.com>
Wed, 4 May 2022 07:06:44 +0000 (09:06 +0200)
We get bad error output with npm

support/docker/production/Dockerfile.bullseye

index 43683faee2593c1f3bd3a4bf36a738e69c1f363e..267d7f4eb4c3e240d041592ca5a93b11254a0b3d 100644 (file)
@@ -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" ]