mirror of https://github.com/OpenVidu/openvidu.git
20 lines
477 B
Docker
20 lines
477 B
Docker
FROM ubuntu:16.04
|
|
MAINTAINER openvidu@gmail.com
|
|
|
|
# Install Java
|
|
RUN apt-get update && apt-get install -y openjdk-8-jdk && rm -rf /var/lib/apt/lists/*
|
|
|
|
# Configure Supervisor
|
|
RUN mkdir -p /var/log/supervisor
|
|
COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf
|
|
RUN apt-get update && apt-get install -y supervisor && rm -rf /var/lib/apt/lists/*
|
|
|
|
# Copy OpenVidu Server
|
|
COPY openvidu-server.jar /
|
|
|
|
EXPOSE 8443
|
|
EXPOSE 8888
|
|
|
|
# Exec supervisord
|
|
CMD ["/usr/bin/supervisord"]
|