Skip to content

Instantly share code, notes, and snippets.

@PatrickKalkman
Created January 5, 2020 14:00
Show Gist options
  • Save PatrickKalkman/0d24ebe8787fc27f7f08f7bc809f2d1a to your computer and use it in GitHub Desktop.
Save PatrickKalkman/0d24ebe8787fc27f7f08f7bc809f2d1a to your computer and use it in GitHub Desktop.
# Add Tini
ENV TINI_VERSION v0.18.0
ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini
RUN chmod +x /tini
ENTRYPOINT ["/tini", "--"]
# Run your program under Tini
CMD ["node", "index.js"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment