Docker-nginx-rtmp/Dockerfile

19 lines
307 B
Text
Raw Permalink Normal View History

FROM alpine:latest
2016-02-15 15:04:44 +00:00
MAINTAINER Jason Rivers <docker@jasonrivers.co.uk>
RUN apk update && \
apk add \
openssl \
libstdc++ \
ca-certificates \
pcre
2016-02-15 15:04:44 +00:00
ADD nginx.tar.gz /opt/
2016-04-26 09:11:40 +01:00
ADD nginx.conf /opt/nginx/conf/nginx.conf
2016-02-15 15:04:44 +00:00
2016-04-26 09:23:51 +01:00
EXPOSE 1935
EXPOSE 8080
2016-02-15 15:04:44 +00:00
CMD ["/opt/nginx/sbin/nginx", "-g", "daemon off;"]