Browse Source

pin version of nodejs modules with package.lock.json

install with npm ci
feat-mydojo_upgrade_explorer
kenshin-samourai 5 years ago
parent
commit
ad033fb8e5
  1. 1
      .gitignore
  2. 2
      docker/my-dojo/node/Dockerfile
  3. 2269
      package-lock.json

1
.gitignore

@ -4,4 +4,3 @@ keys/sslcert/
node_modules/
private-tests/
*.log
package-lock.json

2
docker/my-dojo/node/Dockerfile

@ -20,7 +20,7 @@ COPY . "$APP_DIR"
# Install node modules required by the app
RUN cd "$APP_DIR" && \
npm install --only=prod
npm ci --only=production
# Copy config file
COPY ./docker/my-dojo/node/keys.index.js "$APP_DIR/keys/index.js"

2269
package-lock.json

File diff suppressed because it is too large
Loading…
Cancel
Save