From a37b038af604af1e994df8506764125734f3b84b Mon Sep 17 00:00:00 2001 From: xia-chu <771730766@qq.com> Date: Sun, 23 Apr 2023 14:37:05 +0800 Subject: [PATCH] =?UTF-8?q?docker=E9=95=9C=E5=83=8F=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E5=BC=80=E5=90=AFtrace=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 同时暴露webrtc over tcp端口 --- dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dockerfile b/dockerfile index 5a3ba136..3297b86e 100644 --- a/dockerfile +++ b/dockerfile @@ -8,6 +8,7 @@ EXPOSE 443/tcp EXPOSE 10000/udp EXPOSE 10000/tcp EXPOSE 8000/udp +EXPOSE 8000/tcp EXPOSE 9000/udp # ADD sources.list /etc/apt/sources.list @@ -82,4 +83,4 @@ COPY --from=build /opt/media/ZLMediaKit/release/linux/${MODEL}/MediaServer /opt/ COPY --from=build /opt/media/ZLMediaKit/release/linux/${MODEL}/config.ini /opt/media/conf/ COPY --from=build /opt/media/ZLMediaKit/www/ /opt/media/bin/www/ ENV PATH /opt/media/bin:$PATH -CMD ["sh","-c","./MediaServer -s default.pem -c ../conf/config.ini"] +CMD ["sh","-c","./MediaServer -s default.pem -c ../conf/config.ini -l 0"]