Initial commit
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
This commit is contained in:
7
5g-uulm-network-monitoring/docker/nginx.Dockerfile
Normal file
7
5g-uulm-network-monitoring/docker/nginx.Dockerfile
Normal file
@@ -0,0 +1,7 @@
|
||||
FROM tiangolo/nginx-rtmp:latest-2024-01-15
|
||||
# Install dependencies
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends ffmpeg && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
ENTRYPOINT ["sh", "-c", "nginx && ffmpeg -f lavfi -i testsrc -vf scale=1920x1080 -r 30 -c:v libx264 -pix_fmt yuv420p -b:v 20M -f flv rtmp://localhost/live/test"]
|
||||
Reference in New Issue
Block a user