loading...

Discussion on: A simple Node.js Docker workflow

Collapse
patarapolw profile image
Pacharapol Withayasakpunt

Now, how do I put Express and Webpack Dev Server (Vue CLI) in the same docker-compose.yml? While, not complicating the deployment. Also, how to deploy and costs?

Collapse
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.