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

Automatically detected processes with a Procfile #908

Open
joshwlewis opened this issue Aug 14, 2024 · 1 comment
Open

Automatically detected processes with a Procfile #908

joshwlewis opened this issue Aug 14, 2024 · 1 comment

Comments

@joshwlewis
Copy link
Member

Consider an app with an index.js and a Procfile with contents like:

worker: node index.js

When running a build with heroku/builder:24, this results an image with two processes:

web: node index.js
worker: bash -c node index.js

This is probably unexpected for the user. There is an extra process, and the extra web process is unlikely to accept http connections anyway.

My feeling is that we should probably avoid adding processes if we know the the procfile buildpack was detected and is part of the build plan.

@joshwlewis
Copy link
Member Author

Related issue: heroku/buildpacks-go#85

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

1 participant