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