This commit is contained in:
2023-01-20 22:57:38 +00:00
parent f144a6f0a4
commit b251e59025
4 changed files with 106 additions and 2 deletions

View File

@@ -2,7 +2,7 @@ ARG DEBIAN_VERSION=stretch-slim
##### Building stage #####
FROM debian:${DEBIAN_VERSION} as builder
MAINTAINER Tareq Alqutami <tareqaziz2010@gmail.com>
MAINTAINER Adolfo Delorenzo <adolfo@delorenzo.com>
# Versions of nginx, rtmp-module and ffmpeg
ARG NGINX_VERSION=1.17.5
@@ -16,7 +16,7 @@ RUN apt-get update && \
openssl libssl-dev yasm \
libpcre3-dev librtmp-dev libtheora-dev \
libvorbis-dev libvpx-dev libfreetype6-dev \
libmp3lame-dev libx264-dev libx265-dev && \
libmp3lame-dev libx264-dev libx265-dev lighttpd && \
rm -rf /var/lib/apt/lists/*
@@ -109,8 +109,10 @@ COPY conf/nginx.conf /etc/nginx/nginx.conf
# Copy html players to container
COPY players /usr/local/nginx/html/players
COPY html /var/www/html
EXPOSE 1935
EXPOSE 8080
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]