diff --git a/Dockerfile b/Dockerfile index 058a5e4..4ce5bc9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,13 +1,7 @@ FROM golang:alpine as builder - WORKDIR /go - RUN go install github.com/xvzc/SpoofDPI/cmd/spoofdpi@latest -FROM alpine:latest - -WORKDIR / - -COPY --from=builder /go/bin/spoofdpi . - -ENTRYPOINT ["./spoofdpi"] +FROM gcr.io/distroless/static-debian12 +COPY --from=builder /go/bin/spoofdpi / +ENTRYPOINT ["/spoofdpi"]