Skip to content

Commit 74c9f96

Browse files
committed
build: pin node version
1 parent 3e09349 commit 74c9f96

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

Dockerfile.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM onfinality/subql-node:latest AS build
1+
FROM onfinality/subql-node:v5.11.2 AS build
22
USER root
33
WORKDIR /app
44
RUN chown node:node /app
@@ -9,7 +9,7 @@ RUN yarn install --frozen-lockfile --no-cache
99
RUN CHAIN_ID="centrifuge" yarn projectgen && yarn codegen && yarn build
1010

1111

12-
FROM onfinality/subql-node:latest
12+
FROM onfinality/subql-node:v5.11.2
1313
USER root
1414
WORKDIR /app
1515
RUN chown node:node /app

Dockerfile.evm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM onfinality/subql-node-ethereum:latest AS build
1+
FROM onfinality/subql-node-ethereum:v5.6.2 AS build
22
USER root
33
WORKDIR /app
44
RUN chown node:node /app
@@ -9,7 +9,7 @@ RUN yarn install --frozen-lockfile --no-cache
99
RUN CHAIN_ID="centrifuge" yarn projectgen && yarn codegen && yarn build
1010

1111

12-
FROM onfinality/subql-node-ethereum:latest
12+
FROM onfinality/subql-node-ethereum:v5.6.2
1313
USER root
1414
WORKDIR /app
1515
RUN chown node:node /app

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
"interface-build": "yarn generate:defs && yarn generate:meta && yarn build",
1818
"lint": "eslint --max-warnings 0 'src/**/*.{ts,tsx,js,jsx}'",
1919
"lint:fix": "eslint --fix --max-warnings 0 'src/**/*.{ts,tsx,js,jsx}'",
20-
"prepare": "husky install"
20+
"prepare": "husky install",
21+
"export": "bash project-export.sh"
2122
},
2223
"homepage": "https://github.com/centrifuge/pools-subql",
2324
"repository": "github:centrifuge/pools-subql",

0 commit comments

Comments
 (0)