From 4ee2af8e34f97df53534b925b9f19dc2a6fcfbd5 Mon Sep 17 00:00:00 2001 From: Marlik Almighty Date: Wed, 27 Dec 2023 08:27:59 +0300 Subject: [PATCH] up --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index d662c0d..b8f02ca 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,11 +12,11 @@ RUN go build -o /go/src/mdns/app /go/src/mdns/cmd/main.go FROM gruebel/upx:latest as upx COPY --from=builder /go/src/mdns/app /app -RUN upx --best --lzma -o /app /app +RUN upx --best --lzma -o /mdns /app FROM scratch -COPY --from=upx /mdns /app +COPY --from=upx /mdns /mdns ENV HTTP_PORT=8081 ENV DNS_TCP_PORT=53