http3-ytproxy/Dockerfile
2020-10-25 13:03:34 +00:00

15 lines
194 B
Docker

FROM golang:alpine AS build
WORKDIR /app/
COPY . .
RUN go build -ldflags "-s -w" main.go
FROM alpine:edge
WORKDIR /app/
COPY --from=build /app/main /app/http3-ytproxy
CMD ./http3-ytproxy