1
0
mirror of https://gitlab.crans.org/nounous/ghostream.git synced 2025-06-27 04:18:45 +02:00

Pack also statics during compilation

This commit is contained in:
Alexandre Iooss
2020-09-28 18:06:10 +02:00
parent c64506dc7c
commit 48c8ff8987
4 changed files with 87 additions and 84 deletions

View File

@ -13,7 +13,6 @@ RUN go generate && go build -o ./out/ghostream .
FROM alpine:3.12
RUN apk add ca-certificates libressl libstdc++ libgcc
COPY --from=build_base /code/out/ghostream /app/ghostream
COPY --from=build_base /code/web/static /app/web/static
COPY --from=build_base /usr/local/lib64/libsrt.so.1 /lib/libsrt.so.1
WORKDIR /app
# 8080 for Web and Websocket, 2112 for prometheus monitoring and 9710 for SRT