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.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
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 thedist
folder and having all sources in the image is at least not necessary.