forked from efacilitation/docker-janus-webrtc-gateway
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
28 lines (28 loc) · 740 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
FROM ubuntu:16.04
MAINTAINER Efa-GmbH <[email protected]>
# Copy installation scripts in
COPY *.sh ./
# Copy the apache configuration files ready for when we need them
COPY apache2/*.conf ./
# Prepare the system
RUN ./setup.sh
# Install dependencies
RUN ./dependencies.sh
# Install extras
RUN ./extras.sh
# Install libsrtp 1.5.0 to avoid Janus issues with the default 1.4.x
RUN ./libsrtp.sh
# Install libsrtp 2
RUN ./libsrtp2.sh
# Install usrsctp for data channel support
RUN ./usrsctp.sh
# Install web sockets support
RUN ./websockets.sh
# Install and prepare apache
RUN ./apache.sh
# Fetch, build and install the gateway
RUN ./janus.sh
# Declare the ports we use
EXPOSE 80 8088 8188
# Define the default start-up command
CMD ./startup.sh