aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-05-04 09:06:44 +0200
committerChocobozzz <me@florianbigard.com>2022-05-04 09:06:44 +0200
commit6348fb18840c912e107cfbc0f51d1c440b9c1cba (patch)
tree640f7f951bdd9b895c284b26e61cee2543e50450
parent26da644eab9ef62a3e559ac5626bb65a0b13a14d (diff)
downloadPeerTube-6348fb18840c912e107cfbc0f51d1c440b9c1cba.tar.gz
PeerTube-6348fb18840c912e107cfbc0f51d1c440b9c1cba.tar.zst
PeerTube-6348fb18840c912e107cfbc0f51d1c440b9c1cba.zip
Prefer using node instead of npm in dockerfile
We get bad error output with npm
-rw-r--r--support/docker/production/Dockerfile.bullseye4
1 files changed, 2 insertions, 2 deletions
diff --git a/support/docker/production/Dockerfile.bullseye b/support/docker/production/Dockerfile.bullseye
index 43683faee..267d7f4eb 100644
--- a/support/docker/production/Dockerfile.bullseye
+++ b/support/docker/production/Dockerfile.bullseye
@@ -37,10 +37,10 @@ VOLUME /data
37VOLUME /config 37VOLUME /config
38 38
39COPY ./support/docker/production/entrypoint.sh /usr/local/bin/entrypoint.sh 39COPY ./support/docker/production/entrypoint.sh /usr/local/bin/entrypoint.sh
40ENTRYPOINT ["/usr/local/bin/entrypoint.sh"] 40ENTRYPOINT [ "/usr/local/bin/entrypoint.sh" ]
41 41
42# Expose API and RTMP 42# Expose API and RTMP
43EXPOSE 9000 1935 43EXPOSE 9000 1935
44 44
45# Run the application 45# Run the application
46CMD ["npm", "start"] 46CMD [ "node", "dist/server" ]