Prefer using node instead of npm in dockerfile

We get bad error output with npm
This commit is contained in:
Chocobozzz 2022-05-04 09:06:44 +02:00
parent 26da644eab
commit 6348fb1884
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 2 additions and 2 deletions

View 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" ]