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


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 )

code of conduct - report abuse