mediamtx/stress/proxy/Dockerfile
2020-10-28 23:03:44 +01:00

20 lines
331 B
Docker

FROM golang:1.15-alpine3.12
RUN apk add --no-cache \
ffmpeg
RUN wget -O /video.mkv http://jell.yfish.us/media/jellyfish-10-mbps-hd-h264.mkv
WORKDIR /s
COPY go.mod go.sum ./
RUN go mod download
COPY . ./
RUN go build -o /rtsp-simple-server .
COPY stress/proxy/start.sh /
RUN chmod +x /start.sh
ENTRYPOINT [ "/start.sh" ]