Snapshot current package lock so future changes won't require a full reinstall in docker container, which takes too long

This commit is contained in:
Rogerio Chaves 2020-04-15 18:37:03 +02:00
parent 19597a0446
commit a6074e3a26
No known key found for this signature in database
GPG Key ID: E6AF5440509B1D94
4 changed files with 10763 additions and 1 deletions

View File

@ -1,5 +1,9 @@
FROM node
COPY zdocker/package-20200420.json package.json
COPY zdocker/package-lock-20200420.json package-lock.json
RUN npm install
COPY package.json package-lock.json ./
RUN npm install
COPY . .

View File

@ -4,4 +4,4 @@ services:
build: .
restart: always
network_mode: host
env_file: .evn
env_file: .env

View File

@ -0,0 +1,53 @@
{
"name": "social-app",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"start": "MODE=server SSB_PORT=8009 node index.js",
"start:client": "electron .",
"start:user-2": "SSB_PORT=8010 PORT=3001 CONFIG_FOLDER=social-user2 electron .",
"start:user-3": "SSB_PORT=8011 PORT=3002 CONFIG_FOLDER=social-user3 electron .",
"clear": "rm -rf ~/.social; rm -rf ~/.social-user2; rm -rf ~/.social-user3",
"package": "electron-packager . --platform=darwin --arch=x64 --out out/ --overwrite"
},
"author": "",
"license": "ISC",
"dependencies": {
"@sentry/node": "^5.15.4",
"chokidar": "^3.3.1",
"cookie-parser": "^1.4.5",
"debug": "^4.1.1",
"ejs": "^3.0.2",
"electron-packager": "^14.2.1",
"express": "^4.17.1",
"express-fileupload": "^1.1.7-alpha.3",
"mime-types": "^2.1.26",
"pull-cat": "^1.1.11",
"pull-identify-filetype": "^1.1.0",
"pull-stream": "^3.6.14",
"ssb-about": "^2.0.1",
"ssb-backlinks": "^1.0.0",
"ssb-blobs": "^1.2.2",
"ssb-client": "^4.9.0",
"ssb-config": "^3.4.4",
"ssb-contacts": "0.0.2",
"ssb-device-address": "^1.1.6",
"ssb-friends": "^4.1.4",
"ssb-gossip": "^1.1.1",
"ssb-identities": "^2.1.1",
"ssb-invite": "^2.1.4",
"ssb-keys": "^7.2.2",
"ssb-master": "^1.0.3",
"ssb-peer-invites": "^2.0.2",
"ssb-private": "^0.2.3",
"ssb-query": "^2.4.3",
"ssb-replicate": "^1.3.2",
"ssb-server": "^15.2.0",
"stream-to-pull-stream": "^1.7.3",
"url": "^0.11.0"
},
"devDependencies": {
"electron": "^8.2.0"
}
}

File diff suppressed because it is too large Load Diff