rill icon indicating copy to clipboard operation
rill copied to clipboard

[Dockerfile] -d while Installing npm dependencies.

Open AshishKapoor opened this issue 3 years ago • 0 comments

Describe the bug Curious, why there's a -d flag and not simply npm i or npm ci in the Dockerfile?

RUN echo "Installing npm dependencies..." && \
    npm install -d

To Reproduce Steps to reproduce the behavior:

  1. Go to https://github.com/rilldata/rill-developer/blob/4db2c267f64e80817c627704c854fe359003dc6e/Dockerfile#L14

Expected behavior Can we use npm i or npm ci?

Screenshots If applicable, add screenshots to help explain your problem. NA

Desktop (please complete the following information):

  • OS: ubuntu server 20.04
  • Browser chrome
  • Version 103.0.5060.114 (Official Build) (arm64)

AshishKapoor avatar Jul 15 '22 10:07 AshishKapoor