openvidu-call: Avoided use nodemon in production

This commit is contained in:
csantosm 2022-05-24 15:55:09 +02:00
parent ef6f8abb69
commit f796e85d38
2 changed files with 2 additions and 3 deletions

View File

@ -30,8 +30,7 @@ COPY --from=openvidu-call-build /openvidu-call/dist .
# Entrypoint
COPY docker/entrypoint.sh /usr/local/bin
RUN apk add curl && \
chmod +x /usr/local/bin/entrypoint.sh && \
npm install -g nodemon
chmod +x /usr/local/bin/entrypoint.sh
# CMD /usr/local/bin/entrypoint.sh
CMD ["/usr/local/bin/entrypoint.sh"]

View File

@ -12,4 +12,4 @@ CALL_OPENVIDU_CERTTYPE=${CALL_OPENVIDU_CERTTYPE}
EOF
cd /opt/openvidu-call
nodemon openvidu-call-server.js
node openvidu-call-server.js