Docker production image must download libsrt from the edge repository

This commit is contained in:
Yohann D'ANELLO 2020-10-04 01:34:02 +02:00
parent 58e0473f42
commit 83da3cc392
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ RUN go generate && go build -o ./out/ghostream .
# Production image
FROM alpine:3.12
RUN apk add ffmpeg libsrt
RUN apk add --no-cache -X https://dl-cdn.alpinelinux.org/alpine/edge/community/ ffmpeg libsrt
COPY --from=build_base /code/out/ghostream /app/ghostream
WORKDIR /app
# 9710 for SRT, 8080 for Web, 2112 for monitoring and 10000-10005 (UDP) for WebRTC