Created
May 5, 2024 17:37
-
-
Save whizyrel/68cb822f994123f85eb04a1728ea6949 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM node:22-alpine3.18 | |
| WORKDIR /usr/app | |
| RUN echo << EOF > index.js \ | |
| "for (let i = 0; i < 1000; i++);" \ | |
| "throw new Error('I deliberately need to crash now...');" \ | |
| EOF | |
| CMD ["node", "index.js"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment