From 8e5f3391ae5e04090744ddfb498d2dd4fd9296b7 Mon Sep 17 00:00:00 2001 From: David MacPherson Date: Thu, 22 Feb 2024 16:04:25 +1000 Subject: [PATCH] Added a dockerfile to build the web rtc tcp detect example --- .../sps-frontend-webRtcTcpDetectEvent.dockerfile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 dockerfiles/sps-frontend-webRtcTcpDetectEvent.dockerfile diff --git a/dockerfiles/sps-frontend-webRtcTcpDetectEvent.dockerfile b/dockerfiles/sps-frontend-webRtcTcpDetectEvent.dockerfile new file mode 100644 index 00000000..0e082c43 --- /dev/null +++ b/dockerfiles/sps-frontend-webRtcTcpDetectEvent.dockerfile @@ -0,0 +1,11 @@ +FROM nginx:1.21.6 + +RUN mkdir www +WORKDIR /www + +ADD examples/webRtcTcpDetectEvent/dist/. /www/ + +RUN rm /etc/nginx/nginx.conf +RUN ln -s /etc/nginx/sps/nginx.conf /etc/nginx/nginx.conf + +EXPOSE 80 \ No newline at end of file