DEV Community

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

Collapse
 
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 . .
Collapse
 
katjuell profile image
katjuell

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