Skip to content

Commit

Permalink
fix: update dockerfiles and node scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
CharlieC3 committed May 4, 2021
1 parent f958dc3 commit bbde454
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
3 changes: 2 additions & 1 deletion admin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"lint:fix": "eslint --ext .ts ./src --fix",
"test:coverage": "cross-env NODE_ENV=test nyc node ./test/test.ts",
"test": "run-p build lint test:coverage",
"test:build": "tsc -p ./test/tsconfig.json"
"test:build": "tsc -p ./test/tsconfig.json",
"start": "node lib/index.js"
},
"bin": {
"blockstack-gaia-admin": "./cmd/index.js"
Expand Down
2 changes: 1 addition & 1 deletion hub/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ RUN apk add --no-cache --virtual .build-deps alpine-sdk python && \
npm prune --production && \
apk del .build-deps

CMD ["node", "lib/index.js"]
CMD ["npm", "run", "start"]
3 changes: 2 additions & 1 deletion hub/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@
"lint:fix": "eslint --ext .ts ./src --fix",
"test:build": "tsc -p ./test/tsconfig.json",
"test:coverage": "cross-env NODE_ENV=test LOCAL_DRIVER_CONFIG_TEST_DATA=configs/drivers.json nyc node ./test/src/index.ts",
"test": "npm-run-all build --parallel lint test:coverage"
"test": "npm-run-all build --parallel lint test:coverage",
"start": "node lib/index.js"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion reader/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ RUN npm install && \
npm run build && \
npm prune --production

CMD ["node", "lib/index.js"]
CMD ["npm", "run", "start"]
3 changes: 2 additions & 1 deletion reader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@
"lint:fix": "eslint --ext .ts ./src --fix",
"test:coverage": "cross-env NODE_ENV=test nyc node ./test/test.ts",
"test": "run-p lint build test:coverage",
"test:build": "tsc -p ./test/tsconfig.json"
"test:build": "tsc -p ./test/tsconfig.json",
"start": "node lib/index.js"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit bbde454

Please # to comment.