npm notice created a lockfile as package-lock.json. You should commit this file

后端 未结 8 2065
栀梦
栀梦 2020-12-09 01:06

I have been trying to load the skeleton of express with npm install express. It outputs the following line:

npm notice created a lockfil

8条回答
  •  感动是毒
    2020-12-09 01:50

    If this is output from a Dockerfile then you don't want / need to commit it.

    However you will want to tag the base image and any other contributing images / applications.

    E.g.

    FROM node:12.18.1
    

提交回复
热议问题