Updated the executable name inside the Dockerfile file.
This commit is contained in:
parent
70b0e275c6
commit
3a2aab242f
@ -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"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user