mirror of
https://github.com/vale981/Docker-nginx-rtmp
synced 2025-03-04 09:01:40 -05:00
18 lines
307 B
Docker
18 lines
307 B
Docker
FROM alpine:latest
|
|
MAINTAINER Jason Rivers <docker@jasonrivers.co.uk>
|
|
|
|
RUN apk update && \
|
|
apk add \
|
|
openssl \
|
|
libstdc++ \
|
|
ca-certificates \
|
|
pcre
|
|
|
|
|
|
ADD nginx.tar.gz /opt/
|
|
ADD nginx.conf /opt/nginx/conf/nginx.conf
|
|
|
|
EXPOSE 1935
|
|
EXPOSE 8080
|
|
|
|
CMD ["/opt/nginx/sbin/nginx", "-g", "daemon off;"]
|