servidor de streaming rtmp en sindominio.net
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
sintoniza/Dockerfile

26 lines
864 B

FROM registry.sindominio.net/nginx
RUN apt-get update && apt-get install -y libnginx-mod-rtmp && apt-get clean
RUN rm -rf /var/www/html/*
# config nginx with rtmp app points
WORKDIR /tmp/
COPY nginx-rtmp.conf /tmp/
RUN cat /tmp/nginx-rtmp.conf >> /etc/nginx/nginx.conf
RUN mkdir -p /var/www/html/hls && \
chmod 777 /var/www/html/hls
# poner el index.html css y js
COPY index.html /var/www/html/
RUN mkdir -p /var/www/html/assets/
COPY assets/styles-sintoniza.css /var/www/html/assets/
COPY assets/video-js-7.20.3.min.css /var/www/html/assets/video-js.min.css
COPY assets/video-js-7.20.3.min.js /var/www/html/assets/video-js.min.js
COPY assets/jquery-3.6.1.slim.min.js /var/www/html/assets/jquery-slim.min.js
# copiar la configuración por defecto de nginx con nuestros cambios incluidos
COPY nginx-site-default.conf /etc/nginx/sites-available/default