ADD file:702193928cded0bcec5edbf4a5660961e7caef8c9d9cafea3337b7f6720c4464 in / |
CMD ["bash"] |
LABEL maintainer=hi@bluemedia.dev |
ENV DEBIAN_FRONTEND=noninteractive |
ENV RTMP_PORT=1935 |
ENV HTTP_PORT=8080 |
ENV HLS_FRAGMENT_LENGTH=3 |
ENV HLS_PLAYLIST_LENGTH=20 |
RUN /bin/sh -c apt update -y && apt upgrade -y && apt autoremove -y && apt install -y --no-install-recommends nginx libnginx-mod-rtmp && apt clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* # buildkit |
RUN /bin/sh -c useradd -s /bin/false nginx # buildkit |
COPY config/ /template/ # buildkit |
COPY frontend/ /var/www/html/ # buildkit |
COPY entrypoint /entrypoint # buildkit |
RUN /bin/sh -c chmod +x /entrypoint && chown -R www-data:www-data /var/www/html/ # buildkit |
ENTRYPOINT ["/entrypoint"] |
CMD ["/usr/sbin/nginx"] |