diff --git a/Dockerfile.dropshell-build b/Dockerfile.dropshell-build index 413f317..ff86bcc 100644 --- a/Dockerfile.dropshell-build +++ b/Dockerfile.dropshell-build @@ -54,9 +54,9 @@ RUN --mount=type=cache,target=/build mkdir -p /output && \ find /build -type f -executable -exec cp {} /output/${PROJECT} \; # Final stage that only contains the binary -FROM alpine:latest AS project +FROM scratch AS project ARG PROJECT # Copy the actual binary from the regular directory -COPY --from=builder /output/ /output/ +COPY --from=builder /output/${PROJECT} /${PROJECT}