DEV Community

Discussion on: How to Dockerize an ExpressJS Application

Collapse
 
albglhk profile image
al-bglhk

You might have forgotten what command(s) need to be set in scripts.start. By default (npm init -y), it's not even defined. I could only assume the npm run start script command should be nodemon node app.js.

Collapse
 
geekhart profile image
George Kephart

I agree this would not work unless npm run start was defined in the package.json that was not shared.