Skip to content

Commit

Permalink
fix: simplify core docker build
Browse files Browse the repository at this point in the history
Signed-off-by: Kostas Christopoulos <[email protected]>
  • Loading branch information
kchrist-rocketfueldev committed Oct 31, 2023
1 parent 89a0272 commit cf3b4c3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
#
FROM node:lts AS appbuild
WORKDIR /usr/src/app
COPY . .
COPY package.json yarn.lock lerna.json tsconfig.json ./
COPY common ./common
RUN yarn build:docker
RUN cd ./common/docker
RUN yarn run build:binaries
Expand Down
2 changes: 1 addition & 1 deletion docker-integrations/tendermint/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"start": "node ./dist/src/index.js",
"format": "prettier --write .",
"lint": "eslint . --ignore-path ./.eslintignore --ext ts --ext tsx --ext js --ext jsx",
"lint:fix": "eslint --fix . --ignore-path ./.eslintignore --ext ts --ext tsx --ext js --ext jsx",
"lint:fix": "eslint --fix . --ignore-path ./.eslintignore --ext ts --ext tsx --ext js --ext jsx"
},
"bin": "./dist/src/index.js",
"pkg": {
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@
},
"scripts": {
"setup": "lerna clean && yarn install && lerna run build",
"build:docker": "yarn nx reset && yarn install && lerna run build",
"graph": "yarn nx graph",
"build": "lerna run build",
"build:binaries": "lerna run build:binaries --concurrency 1",
"build:docker": "yarn install && lerna run build",
"pub": "lerna run build && lerna publish",
"build:changed": "lerna run --since origin/master --include-dependents build",
"test": "lerna run test",
Expand All @@ -40,7 +40,7 @@
"clean": "lerna run clean",
"lint": "lerna run lint",
"lint:fix": "lerna run lint:fix",
"custom-version": "yarn lerna version --conventional-commits=false",
"custom-version": "yarn lerna version --conventional-commits=false"
},
"version": "0.0.0"
}

0 comments on commit cf3b4c3

Please sign in to comment.