owncast customizations & stream elements
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

17 lines
528 B

FROM golang:1.15.2-alpine as build
ARG GOARCH=
ARG GO_BUILD_ARGS=
RUN mkdir /build
WORKDIR /build
RUN apk add --update --no-cache ca-certificates git \
&& go get github.com/koding/websocketproxy
COPY . .
RUN go build -v $GO_BUILD_ARGS -o /build/owncast-caching-proxy main.go
FROM alpine
WORKDIR /app
RUN apk add --update --no-cache curl
# COPY --from=build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY --from=build /build/owncast-caching-proxy /app/owncast-caching-proxy
ENTRYPOINT ["/app/owncast-caching-proxy"]