From 32da82ea8d792dd7b606e500c0dd94388dc559c1 Mon Sep 17 00:00:00 2001 From: MahdiBM Date: Sun, 15 Dec 2024 19:44:21 +0330 Subject: [PATCH] Update Dockerfile --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 5dd81dd2..d6c96555 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,7 +21,7 @@ COPY .build/$SWIFT_CONFIGURATION/$EXEC_NAME ./ RUN cp "/usr/libexec/swift/linux/swift-backtrace-static" ./ # Copy resources bundled by SPM to staging area -RUN find -L "$(swift build --package-path /build -c release --show-bin-path)/" -regex '.*\.resources$' -exec cp -Ra {} ./ \; +RUN find -L ".build/$SWIFT_CONFIGURATION/" -regex '.*\.resources$' -exec cp -Ra {} ./ \; # ================================ # Run image