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"]