Prefer using node instead of npm in dockerfile
We get bad error output with npm
This commit is contained in:
parent
26da644eab
commit
6348fb1884
1 changed files with 2 additions and 2 deletions
|
@ -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" ]
|
||||
|
|
Loading…
Reference in a new issue