2021-03-12 09:10:44 +01:00
|
|
|
FROM golang:1.16.2-alpine
|
2020-03-21 20:53:50 +01:00
|
|
|
WORKDIR /go/src/github.com/systemli/prometheus-jitsi-meet-exporter
|
|
|
|
ADD . /go/src/github.com/systemli/prometheus-jitsi-meet-exporter
|
|
|
|
RUN go build -o /prometheus-jitsi-meet-exporter
|
|
|
|
|
|
|
|
FROM alpine
|
|
|
|
WORKDIR /app
|
|
|
|
COPY --from=0 /prometheus-jitsi-meet-exporter /prometheus-jitsi-meet-exporter
|
|
|
|
|
|
|
|
EXPOSE 9888
|
|
|
|
ENTRYPOINT ["/prometheus-jitsi-meet-exporter"]
|