~kt/udprelay

ec10aef888af3173e13b86b038e0e32ae4b4b5f5 — Katie Wolfe 11 months ago 1082542
Add Dockerfile
1 files changed, 15 insertions(+), 0 deletions(-)

A Dockerfile
A Dockerfile => Dockerfile +15 -0
@@ 0,0 1,15 @@
FROM golang:1.15-alpine AS builder

RUN apk add make git

ADD . /src
WORKDIR /src
RUN make udprelay

FROM alpine:latest
RUN apk --no-cache add ca-certificates
COPY --from=builder /src/udprelay /usr/local/bin/udprelay

WORKDIR /root
CMD ["/usr/local/bin/udprelay", "9999"]
EXPOSE 9999/udp