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

Dockerize new services #220

Merged
merged 1 commit into from
Jun 9, 2019
Merged

Dockerize new services #220

merged 1 commit into from
Jun 9, 2019

Conversation

zacanger
Copy link
Contributor

@zacanger zacanger commented Jun 9, 2019

Followup to #135, moving these changes out of #204 to keep that focused. Blocks #204.

@@ -0,0 +1,20 @@
#!/usr/bin/env node

// Use Node http rather than installing curl
Copy link
Contributor Author

Choose a reason for hiding this comment

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

More copy-paste that can be addressed separately, #213

#!/usr/bin/env node

// Use Node http rather than installing curl
// to reduce container size
Copy link
Contributor Author

Choose a reason for hiding this comment

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

More copy-paste that can be addressed separately, #213

const server = boltzmann.make(router, myMiddles);
server.listen(process.env.PORT, '0.0.0.0');
logger.info(`listening on port: ${process.env.PORT}`);
const main = () => {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

More copy-paste that can be addressed separately, #213

@zacanger zacanger mentioned this pull request Jun 9, 2019
@@ -1,10 +1,11 @@
FROM mhart/alpine-node:12
ARG SERVICE
Copy link
Collaborator

Choose a reason for hiding this comment

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

Dockerfiles have a lot of syntax to them! Glad you are here working on this :)

Copy link
Collaborator

@ceejbot ceejbot left a comment

Choose a reason for hiding this comment

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

Gonna land this...

@ceejbot ceejbot merged commit 5572d6b into entropic-dev:master Jun 9, 2019
@zacanger zacanger deleted the chore/docker-services branch June 9, 2019 22:37
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.

None yet

2 participants