add support for rebroadcasting as rtmp

This commit is contained in:
Blake Blackshear
2020-11-28 07:58:27 -06:00
parent b87ec752cf
commit 1acbeb813e
3 changed files with 53 additions and 8 deletions

View File

@@ -15,7 +15,7 @@ ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get -qq update \
&& apt-get upgrade -y \
&& apt-get -qq install --no-install-recommends -y \
gnupg wget unzip tzdata nginx \
gnupg wget unzip tzdata nginx libnginx-mod-rtmp \
&& apt-get -qq install --no-install-recommends -y \
python3-pip \
&& pip3 install -U /wheels/*.whl \
@@ -45,4 +45,7 @@ ADD frigate frigate/
COPY run.sh /run.sh
RUN chmod +x /run.sh
EXPOSE 5000
EXPOSE 1935
CMD ["/run.sh"]