mirror of
https://github.com/pierre-emmanuelJ/iptv-proxy.git
synced 2026-03-12 22:24:18 +01:00
12 lines
353 B
Docker
12 lines
353 B
Docker
FROM golang:1.13.1-alpine
|
|
|
|
WORKDIR /go/src/github.com/pierre-emmanuelJ/iptv-proxy
|
|
COPY . .
|
|
RUN GO111MODULE=off CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o iptv-proxy .
|
|
|
|
FROM alpine:latest
|
|
RUN apk --no-cache add ca-certificates
|
|
WORKDIR /root/
|
|
COPY --from=0 /go/src/github.com/pierre-emmanuelJ/iptv-proxy/iptv-proxy .
|
|
CMD ["./iptv-proxy"]
|