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

Docker container takes too long to shutdown #426

Closed
insidewhy opened this issue Nov 12, 2024 · 1 comment
Closed

Docker container takes too long to shutdown #426

insidewhy opened this issue Nov 12, 2024 · 1 comment

Comments

@insidewhy
Copy link
Contributor

The reason is because the cmd is node (and there's no entrypoint), node cannot handle being run as pid 1.

A simple solution would be to add tini to the apk add and then add entrypoint ["tini"] to the Dockerfile.

@rchl
Copy link
Collaborator

rchl commented Nov 13, 2024

Fixed by #427, thanks!

@rchl rchl closed this as completed Nov 13, 2024
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