mirror of
https://github.com/BluemediaGER/nginx-live.git
synced 2024-11-22 09:55:28 +01:00
This commit is contained in:
parent
664925d246
commit
558f984f43
|
@ -1,5 +1,5 @@
|
|||
# Base Image used to create this Image
|
||||
FROM debian:bullseye-slim
|
||||
FROM bitnami/minideb:bullseye
|
||||
|
||||
# Maintainer
|
||||
LABEL maintainer="hi@bluemedia.dev"
|
||||
|
@ -11,12 +11,7 @@ ENV HLS_FRAGMENT_LENGTH 3
|
|||
ENV HLS_PLAYLIST_LENGTH 20
|
||||
|
||||
# Update and install packages
|
||||
RUN apt update -y && \
|
||||
apt upgrade -y && \
|
||||
apt autoremove -y && \
|
||||
apt install nginx libnginx-mod-rtmp -y && \
|
||||
apt clean && \
|
||||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||
RUN install_packages nginx libnginx-mod-rtmp
|
||||
|
||||
# Create nginx user
|
||||
RUN useradd -s /bin/false nginx
|
||||
|
|
Loading…
Reference in a new issue