gstreamer/webrtc/signalling/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

13 lines
266 B
Docker

FROM python:3
RUN pip3 install --user websockets
WORKDIR /opt/
COPY . /opt/
RUN sed -i 's/sslctx.load_cert_chain(chain_pem, keyfile=key_pem)/pass/g' \
./simple-server.py
RUN sed -i 's/ssl=sslctx,//g' \
./simple-server.py
CMD python -u ./simple-server.py