From 1e8bd3a68ce5937006c007de987ec8775f645c88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Houpert?= <10154151+lhoupert@users.noreply.github.com> Date: Thu, 1 Feb 2024 00:37:27 +0000 Subject: [PATCH] Update Dockerfile --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4e85743f1..d12804c31 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,8 +7,8 @@ CGO_ENABLED=0 ARG VERSION=v3.2.0 COPY . /scc WORKDIR /scc -RUN go build -ldflags="-s -w" +RUN go build -ldflags="-s -w" -o /bin/scc FROM alpine:3.19 -COPY --from=scc-get /scc/scc /bin/ -ENTRYPOINT ["scc"] +COPY --from=scc-get /bin/scc /bin/scc +ENTRYPOINT ["/bin/scc"]