Discussion on: A simple Node.js Docker workflow

pinutz23 profile image
Jannik Wempe

As you can see in this line: command: sh -c "npm install && npm run dev" docker installs the packages from package.json and runs the npm dev-script. So you only have to make sure express and Webpack are in your package.json and the script starts you dev server on the exposed port.