1
0
mirror of https://gitlab.crans.org/nounous/ghostream.git synced 2024-12-22 18:32:19 +00:00

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

View File

@ -9,7 +9,7 @@ RUN go generate && go build -o ./out/ghostream .
# Production image # Production image
FROM alpine:3.12 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 COPY --from=build_base /code/out/ghostream /app/ghostream
WORKDIR /app WORKDIR /app
# 9710 for SRT, 8080 for Web, 2112 for monitoring and 10000-10005 (UDP) for WebRTC # 9710 for SRT, 8080 for Web, 2112 for monitoring and 10000-10005 (UDP) for WebRTC