Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dockerfile build failing #72

Closed
jalberty2018 opened this issue Apr 26, 2024 · 2 comments
Closed

Dockerfile build failing #72

jalberty2018 opened this issue Apr 26, 2024 · 2 comments

Comments

@jalberty2018
Copy link

jalberty2018 commented Apr 26, 2024

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 :-)

@adam-fowler
Copy link
Member

Oh I forgot to update the Dockerfiles for many of the examples when merging them into one target.

@adam-fowler
Copy link
Member

#73 should fix this. Those docker files were ancient. They referenced swift 5.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants