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