servidor de streaming rtmp en
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.

23 lines
713 B

1 year ago
RUN apt-get update && apt-get install -y nginx libnginx-mod-rtmp && apt get clean
1 year ago
RUN rm -rf /var/www/html/*
1 year ago
# config nginx with rtmp app points
COPY nginx.conf /tmp/
RUN cat /tmp/nginx-rtmp.conf >> /etc/nginx/nginx.conf
1 year ago
RUN mkdir -P /var/www/html/hls && \
chmod 777 /var/www/html/hls
1 year ago
# poner el index.html css y js
COPY index.html /var/www/html/
1 year ago
RUN mkdir -P /var/www/assets/
COPY assets/styles-mirar.css /var/www/html/assets/
COPY assets/video-js-7.10.2.min.css /var/www/html/assets/video-js.min.css
COPY assets/video-js-7.10.2.min.js /var/www/html/assets/video-js.min.js
COPY assets/jquery-3.5.1.slim.min.js /var/www/html/assets/jquery-slim.min.js