Prefer using node instead of npm in dockerfile
We get bad error output with npm
This commit is contained in:
parent
26da644eab
commit
6348fb1884
|
@ -37,10 +37,10 @@ VOLUME /data
|
||||||
VOLUME /config
|
VOLUME /config
|
||||||
|
|
||||||
COPY ./support/docker/production/entrypoint.sh /usr/local/bin/entrypoint.sh
|
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 API and RTMP
|
||||||
EXPOSE 9000 1935
|
EXPOSE 9000 1935
|
||||||
|
|
||||||
# Run the application
|
# Run the application
|
||||||
CMD ["npm", "start"]
|
CMD [ "node", "dist/server" ]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user