DEV Community


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

ltroya profile image
Luis Troya • Edited

Thanks for sharing your knowledge!

One thing I am curious about, why is there two COPY on Dockerfile? Is it the first one neccesary?

COPY . .

COPY --chown=node:node . .
katjuell profile image
katjuell Author

Hi! That is a typo – thanks for catching! I've updated the code above.