Skip to content

Latest commit

 

History

History
27 lines (14 loc) · 302 Bytes

README.md

File metadata and controls

27 lines (14 loc) · 302 Bytes

Example Dockerizing Express

Node Command

npm run install

npm run dev

npm run build

npm run test

npm run start:[dev, test, production]

Docker Command

docker build --build-arg NODE_ENV=[dev, test, production] -t IMAGE_NAME .

docker run -p 3000:3000 IMAGE_NAME