Last active
August 19, 2018 04:16
-
-
Save ManfredLange/8706796adb20e37a046d11f0fb8f907f to your computer and use it in GitHub Desktop.
Dockerfile with nodejs options for debugger support
This file contains 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:10-alpine | |
RUN mkdir -p /home/nodejs/app | |
WORKDIR /home/nodejs/app | |
COPY . . | |
RUN npm install --production | |
CMD ["node", "--inspect=0.0.0.0:9229", "--inspect-brk", "hello_express.js"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment