From 6348fb18840c912e107cfbc0f51d1c440b9c1cba Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 4 May 2022 09:06:44 +0200 Subject: Prefer using node instead of npm in dockerfile We get bad error output with npm --- support/docker/production/Dockerfile.bullseye | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'support/docker') 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 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" ] -- cgit v1.2.3