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
|
# Build the application, with optimizations, with static linking, and using jemalloc
|
||||||
RUN swift build -c release \
|
RUN swift build -c release \
|
||||||
--product "App" \
|
--product "doxy" \
|
||||||
--static-swift-stdlib \
|
--static-swift-stdlib \
|
||||||
-Xlinker -ljemalloc
|
-Xlinker -ljemalloc
|
||||||
|
|
||||||
@ -33,7 +33,7 @@ RUN swift build -c release \
|
|||||||
WORKDIR /staging
|
WORKDIR /staging
|
||||||
|
|
||||||
# Copy main executable to staging area
|
# 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
|
# Copy static swift backtracer binary to staging area
|
||||||
RUN cp "/usr/libexec/swift/linux/swift-backtrace-static" ./
|
RUN cp "/usr/libexec/swift/linux/swift-backtrace-static" ./
|
||||||
@ -82,5 +82,5 @@ USER hummingbird:hummingbird
|
|||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
|
||||||
# Start the Hummingbird service when the image is run, default to listening on 8080 in production environment
|
# 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"]
|
CMD ["--hostname", "0.0.0.0", "--port", "8080"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user