DEV Community

Discussion on: Setting up a NestJS project with Docker for Back-End development

Collapse
 
ygrek09396626 profile image
ygrek

Hi, nice article. One important note: in the production stage of Dockerfile there should not be a COPY . . command. On prod we just need to start the app from the dist folder and having all sources in the image is at least not necessary.