1
0
Fork 0

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

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