ADD file:c8ec8d65b2f61866a2c6085ed61e936733bc484abeeba1b91d12b9f6a97e456b 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"] |