cruizba 1ddfa8e4b9 Add screenshare tutorial, update and fixes demos infrastructure
- Added new tutorial for screenshare
- Update FROM of all demos docker images
- Don't use upstream in nginx. This will make nginx stop when a domain is not reachable on startup.
2021-10-15 16:51:55 +02:00

21 lines
583 B
Docker

FROM alpine:3.13
ARG OPENVIDU_TUTORIALS_VERSION
RUN apk update && \
apk add wget && \
apk add openjdk8-jre && \
apk add mysql mysql-client && \
rm -rf /var/cache/apk/*
# Install basic-videoconference
RUN mkdir -p /opt/openvidu-basic-webinar && \
wget -L -O /opt/classroom-demo.jar \
"https://github.com/OpenVidu/classroom-demo/releases/download/v${OPENVIDU_TUTORIALS_VERSION}/classroom-demo-${OPENVIDU_TUTORIALS_VERSION}.war"
# Entrypoint
COPY ./entrypoint.sh /usr/local/bin
RUN chmod +x /usr/local/bin/entrypoint.sh
CMD /usr/local/bin/entrypoint.sh