diff --git a/Dockerfile b/Dockerfile index d96603d36..4e85743f1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,10 +5,10 @@ GOARCH=amd64 \ CGO_ENABLED=0 ARG VERSION=v3.2.0 -COPY ./ . -WORKDIR /go/scc +COPY . /scc +WORKDIR /scc RUN go build -ldflags="-s -w" FROM alpine:3.19 -COPY --from=scc-get /go/scc/scc /bin/ +COPY --from=scc-get /scc/scc /bin/ ENTRYPOINT ["scc"]