gstreamer/webrtc/sendrecv/js/Dockerfile
maxmcd bb56d6eab7 Add Rust version of sendrecv example
This also comes with a docker image to collect all dependencies and
build everything.

Fixes https://github.com/centricular/gstwebrtc-demos/pull/20
2018-06-18 09:02:05 +03:00

10 lines
214 B
Docker

FROM nginx:latest
COPY . /usr/share/nginx/html
RUN sed -i 's/var default_peer_id;/var default_peer_id = 1;/g' \
/usr/share/nginx/html/webrtc.js
RUN sed -i 's/wss/ws/g' \
/usr/share/nginx/html/webrtc.js