This commit is contained in:
2023-01-20 23:40:33 +00:00
parent b251e59025
commit 216c0da73a
4 changed files with 44 additions and 4 deletions

View File

@@ -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 lighttpd && \
libmp3lame-dev libx264-dev libx265-dev && \
rm -rf /var/lib/apt/lists/*
@@ -93,6 +93,10 @@ RUN apt-get update && \
libvpx4 libx264-dev libx265-dev && \
rm -rf /var/lib/apt/lists/*
# Install lighttpd
RUN apt-get update && \
apt-get install -y lighttpd
# Copy files from build stage to final stage
COPY --from=builder /usr/local /usr/local
COPY --from=builder /etc/nginx /etc/nginx
@@ -115,4 +119,5 @@ EXPOSE 1935
EXPOSE 8080
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]
#CMD ["nginx", "-g", "daemon off;"]
CMD ["lighttpd", "-f", "/etc/lighttpd/lighttpd.conf", "&&", "nginx", "-g", "daemon off;"]