DEV Community

Discussion on: How To Build a Node.js Application with Docker [Quickstart]

karataev profile image
Eugene Karataev

Thanks for the great introduction to Docker!

If you follow the tutorial and like me have the error
Error response from daemon: Dockerfile parse error line 4: unknown instruction: /HOME/NODE/APP
during docker build, then replace lines 3,4 in Dockerfile with one line.


RUN mkdir -p /home/node/app/node_modules && chown -R node:node 


RUN mkdir -p /home/node/app/node_modules && chown -R node:node /home/node/app
katjuell profile image
katjuell Author

Looks like that was a formatting error in the markdown – should be fixed now. That instruction is definitely all one line. Thanks for catching!