Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
goatie999 authored Apr 27, 2020
1 parent bb9a589 commit 2fa2f76
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
FROM debian:bullseye-slim

LABEL maintainer="Mark Ley"
LABEL maintainer="Mark Ley - report issues & requests here https://github.com/goatie999/nginx-rtmps-docker"

# Update and Load initial packages
RUN apt-get update && \
apt-get install -y nano nginx libnginx-mod-rtmp stunnel4

# Import setting files and set new files
COPY nginx.setup /etc/nginx/nginx.setup
COPY stunnel.setup /etc/stunnel/stunnel.conf
COPY nginx.conf /etc/nginx/nginx.conf
COPY stunnel.conf /etc/stunnel/stunnel.conf
RUN touch /var/log/stunnel4/stunnel.log


Expand All @@ -20,5 +20,5 @@ RUN echo "ENABLED=1" >> /etc/default/stunnel4
EXPOSE 1935

# Initialise Services
RUN stunnel /etc/stunnel/stunnel.conf
CMD ["stunnel, "/etc/stunnel/stunnel.conf"]
CMD ["nginx", "-g", "daemon off;"]

0 comments on commit 2fa2f76

Please sign in to comment.