Closed jalberty2018 closed 7 months ago
RUN cp "$(swift build --package-path /build -c release --show-bin-path)/Server" ./
Dockerfile expects "Server" as executable name
Name of compiled executable is "App" as defined in Package.swift
targets: [ .executableTarget( name: "App",
Solution : change name in Dockerfile or Package.swift
ps. change "vapor user" in "hummingbird user" in Dockerfile :-)
Oh I forgot to update the Dockerfiles for many of the examples when merging them into one target.
RUN cp "$(swift build --package-path /build -c release --show-bin-path)/Server" ./
Dockerfile expects "Server" as executable name
Name of compiled executable is "App" as defined in Package.swift
targets: [ .executableTarget( name: "App",
Solution : change name in Dockerfile or Package.swift
ps. change "vapor user" in "hummingbird user" in Dockerfile :-)