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

vapor 2 -> 3 #199

Merged
merged 6 commits into from
May 12, 2018
Merged

vapor 2 -> 3 #199

merged 6 commits into from
May 12, 2018

Conversation

tanner0101
Copy link
Contributor

No description provided.

@tanner0101 tanner0101 mentioned this pull request May 4, 2018
@waghanza
Copy link
Collaborator

waghanza commented May 4, 2018

Hi @tanner0101,

Thanks for updating vapor.

However you are using a branch, not a tag.

I'll rather wait until vapor 3 (stable) is published 😛

@waghanza waghanza changed the title vapor 2 -> 3 [DNM] vapor 2 -> 3 May 4, 2018
@tanner0101
Copy link
Contributor Author

@waghanza yes sorry should have mentioned that. The tag will be coming today, so wanted to have this PR ready 👍

@waghanza
Copy link
Collaborator

waghanza commented May 9, 2018

@tanner0101 any update ?

@tanner0101
Copy link
Contributor Author

@waghanza just updated to 3.0.0 official release. 👍

@waghanza waghanza changed the title [DNM] vapor 2 -> 3 vapor 2 -> 3 May 11, 2018
@waghanza
Copy link
Collaborator

@tanner0101 The Dockerfile seems to be wrong.

Could you confirm that the commit I have made is OK ?

@@ -6,4 +6,4 @@ COPY Package.swift main.swift ./

RUN swift build -c release

CMD .build/release/server serve -e prod -h 0.0.0.0 -p 3000
CMD .build/release/server serve --hostname 0.0.0.0 --port 3000 --env prod
Copy link
Contributor Author

@tanner0101 tanner0101 May 11, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops, that should have been -H (capital). The change you made works, too. Thanks!

Copy link
Contributor Author

@tanner0101 tanner0101 May 11, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FWIW, you could also write this as:

CMD .build/release/server serve -b 0.0.0.0:3000 -e prod

@waghanza waghanza merged commit 41b0369 into the-benchmarker:master May 12, 2018
@tanner0101 tanner0101 deleted the vapor-3 branch May 14, 2018 15:27
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

Successfully merging this pull request may close these issues.

2 participants