Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
MarlikAlmighty committed Dec 27, 2023
1 parent fe154d4 commit 4ee2af8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4ee2af8

Please sign in to comment.