DEV Community

Discussion on: An enterprise-style Node.js REST API setup with Docker Compose, Express and Postgres

Collapse
 
tiim profile image
Tim Bachmann

Is there a specific reason you use npm install as opposed to npm ci? The ci command has the advantage that it installs the exact versions that are specified in package-lock.json so your get repeatable builds.

Collapse
 
hugo__df profile image
Hugo Di Francesco • Edited

Definite oversight on my part 🙂 thanks for pointing it out