From 3a2aab242f6d7fbc9dbaa512822ecbff20fea15b Mon Sep 17 00:00:00 2001 From: Javier Cicchelli Date: Thu, 27 Mar 2025 01:21:25 +0100 Subject: [PATCH] Updated the executable name inside the Dockerfile file. --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6606fc3..2c10099 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,7 +25,7 @@ COPY . . # Build the application, with optimizations, with static linking, and using jemalloc RUN swift build -c release \ - --product "App" \ + --product "doxy" \ --static-swift-stdlib \ -Xlinker -ljemalloc @@ -33,7 +33,7 @@ RUN swift build -c release \ WORKDIR /staging # Copy main executable to staging area -RUN cp "$(swift build --package-path /build -c release --show-bin-path)/App" ./ +RUN cp "$(swift build --package-path /build -c release --show-bin-path)/doxy" ./ # Copy static swift backtracer binary to staging area RUN cp "/usr/libexec/swift/linux/swift-backtrace-static" ./ @@ -82,5 +82,5 @@ USER hummingbird:hummingbird EXPOSE 8080 # Start the Hummingbird service when the image is run, default to listening on 8080 in production environment -ENTRYPOINT ["./App"] +ENTRYPOINT ["./doxy"] CMD ["--hostname", "0.0.0.0", "--port", "8080"]