rtmp custome untuk transcode
191
Dockerfile
FROM debian:latest
RUN apt-get update &&
apt-get install -y build-essential libpcre3 libpcre3-dev libssl-dev zlib1g zlib1g-dev wget unzip
RUN wget http://nginx.org/download/nginx-1.21.4.tar.gz &&
wget https://github.com/arut/nginx-rtmp-module/archive/refs/heads/master.zip &&
tar -zxvf nginx-1.21.4.tar.gz &&
unzip master.zip &&
cd nginx-1.21.4 &&
./configure --add-module=../nginx-rtmp-module-master &&
make &&
make install
RUN mkdir -p /usr/local/nginx/logs /usr/local/nginx/client_body_temp /usr/local/nginx/proxy_temp /usr/local/nginx/fastcgi_temp /usr/local/nginx/uwsgi_temp /usr/local/nginx/scgi_temp
COPY nginx.conf /usr/local/nginx/conf/nginx.conf
EXPOSE 80 1935
CMD ["/usr/local/nginx/sbin/nginx", "-g", "daemon off;"]
Content type
Image
Digest
sha256:57048992a…
Size
447.8 MB
Last updated
over 2 years ago
docker pull eriknughard27/rtmp-langit:0.9