diff options
author | Chocobozzz <me@florianbigard.com> | 2022-05-04 09:06:44 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-05-04 09:06:44 +0200 |
commit | 6348fb18840c912e107cfbc0f51d1c440b9c1cba (patch) | |
tree | 640f7f951bdd9b895c284b26e61cee2543e50450 /support | |
parent | 26da644eab9ef62a3e559ac5626bb65a0b13a14d (diff) | |
download | PeerTube-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
Diffstat (limited to 'support')
-rw-r--r-- | support/docker/production/Dockerfile.bullseye | 4 |
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 | |||
37 | VOLUME /config | 37 | VOLUME /config |
38 | 38 | ||
39 | COPY ./support/docker/production/entrypoint.sh /usr/local/bin/entrypoint.sh | 39 | COPY ./support/docker/production/entrypoint.sh /usr/local/bin/entrypoint.sh |
40 | ENTRYPOINT ["/usr/local/bin/entrypoint.sh"] | 40 | ENTRYPOINT [ "/usr/local/bin/entrypoint.sh" ] |
41 | 41 | ||
42 | # Expose API and RTMP | 42 | # Expose API and RTMP |
43 | EXPOSE 9000 1935 | 43 | EXPOSE 9000 1935 |
44 | 44 | ||
45 | # Run the application | 45 | # Run the application |
46 | CMD ["npm", "start"] | 46 | CMD [ "node", "dist/server" ] |