re: Docker - from the beginning, part I VIEW POST

VIEW FULL DISCUSSION
 

Thanks for this usefull part.
Isn't it a missing line in the Dockerfile ?

RUN npm install express

 

hi. Because we at an earlier stage ran npm install --save at our terminal, our express library is now part of package.json. So all we need in our Dockerfile is RUN npm install, that will install everything listed in "dependencies" in our package.json file ( including Express )

 

Oh, I miss this step in your tutorial .
It's all good then, thx for the reply !

code of conduct - report abuse