diff --git a/Makefile b/Makefile index 8f6ed67e..fa2b2272 100644 --- a/Makefile +++ b/Makefile @@ -160,7 +160,8 @@ RUN export CGO_ENABLED=0 $${OPTS} \ && go build -ldflags "-X main.Version=$$VERSION" -o /rtsp-simple-server FROM scratch -COPY --from=build /rtsp-simple-server /rtsp-simple-server +COPY --from=build /rtsp-simple-server / +COPY --from=build /s/rtsp-simple-server.yml / ENTRYPOINT [ "/rtsp-simple-server" ] endef export DOCKERFILE_DOCKERHUB diff --git a/README.md b/README.md index c15711c6..efad99c6 100644 --- a/README.md +++ b/README.md @@ -88,7 +88,7 @@ The configuration can be changed dinamically when the server is running (hot rel ### RTSP proxy mode -`rtsp-simple-server` is also an RTSP proxy, that is usually deployed in one of these scenarios: +_rtsp-simple-server_ is also a RTSP proxy, that is usually deployed in one of these scenarios: * when there are multiple users that are receiving a stream and the bandwidth is limited; the proxy is used to receive the stream once. Users can then connect to the proxy instead of the original source. * when there's a NAT / firewall between a stream and the users; the proxy is installed on the NAT and makes the stream available to the outside world.