Ver código fonte

Add package-lock.json

ghorsington 3 anos atrás
pai
commit
f207a8f358
6 arquivos alterados com 14923 adições e 5 exclusões
  1. 0 1
      .gitignore
  2. 2 2
      bot/Dockerfile
  3. 7334 0
      bot/package-lock.json
  4. 1010 0
      shared/package-lock.json
  5. 2 2
      web/Dockerfile
  6. 6575 0
      web/package-lock.json

+ 0 - 1
.gitignore

@@ -43,7 +43,6 @@ build/Release
 node_modules
 
 token.js
-package-lock.json
 db.json
 imagestats.csv
 clarifai_keys.js

+ 2 - 2
bot/Dockerfile

@@ -3,11 +3,11 @@ FROM node:14-alpine
 RUN apk --no-cache add make
 
 WORKDIR /app/bot
-COPY ./bot/package.json .
+COPY ./bot/package*.json ./
 RUN npm install
 
 WORKDIR /app/shared
-COPY ./shared/package.json .
+COPY ./shared/package*.json ./
 RUN npm install
 
 WORKDIR /app

Diferenças do arquivo suprimidas por serem muito extensas
+ 7334 - 0
bot/package-lock.json


Diferenças do arquivo suprimidas por serem muito extensas
+ 1010 - 0
shared/package-lock.json


+ 2 - 2
web/Dockerfile

@@ -4,13 +4,13 @@ RUN apk --no-cache add make
 
 WORKDIR /app
 
-COPY ./shared/package.json ./shared/package.json
+COPY ./shared/package*.json ./shared/
 WORKDIR /app/shared
 RUN npm install
 
 WORKDIR /app
 
-COPY ./web/package.json ./web/package.json
+COPY ./web/package*.json ./web/
 WORKDIR /app/web
 RUN npm install
 

Diferenças do arquivo suprimidas por serem muito extensas
+ 6575 - 0
web/package-lock.json