mirror of https://github.com/OpenVidu/openvidu.git
22 lines
491 B
Docker
22 lines
491 B
Docker
FROM ubuntu:18.04
|
|
MAINTAINER info@openvidu.io
|
|
|
|
# Install Java, supervisor and netstat
|
|
RUN apt-get update && apt-get install -y \
|
|
curl \
|
|
wget \
|
|
openjdk-11-jre \
|
|
dnsutils \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
# Copy OpenVidu Server
|
|
COPY openvidu-server.jar /
|
|
COPY ./entrypoint.sh /usr/local/bin
|
|
COPY ./discover_my_public_ip.sh /usr/local/bin
|
|
RUN chmod +x /usr/local/bin/entrypoint.sh && \
|
|
chmod +x /usr/local/bin/discover_my_public_ip.sh
|
|
|
|
EXPOSE 4443
|
|
|
|
CMD /usr/local/bin/entrypoint.sh
|