-
-
Notifications
You must be signed in to change notification settings - Fork 151
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
Conversation
@@ -0,0 +1,20 @@ | |||
#!/usr/bin/env node | |||
|
|||
// Use Node http rather than installing curl |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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 = () => { |
There was a problem hiding this comment.
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
@@ -1,10 +1,11 @@ | |||
FROM mhart/alpine-node:12 | |||
ARG SERVICE |
There was a problem hiding this comment.
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 :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Gonna land this...
Followup to #135, moving these changes out of #204 to keep that focused. Blocks #204.