Bump node version to newest (20) and update corresponding dependencies
This commit is contained in:
parent
098a4687cf
commit
8e8346e651
2
.nvmrc
2
.nvmrc
@ -1 +1 @@
|
|||||||
v16.15
|
v20.3.0
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
FROM node:16-alpine as dev
|
FROM node:20-alpine as dev
|
||||||
|
|
||||||
ENV NODE_ENV=development
|
ENV NODE_ENV=development
|
||||||
|
|
||||||
@ -12,7 +12,7 @@ COPY . ./
|
|||||||
|
|
||||||
RUN yarn build
|
RUN yarn build
|
||||||
|
|
||||||
FROM node:16-alpine as prod
|
FROM node:20-alpine as prod
|
||||||
ENV NODE_ENV=production
|
ENV NODE_ENV=production
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
@ -50,7 +50,7 @@ function install_node(){
|
|||||||
. ~/.nvm/nvm.sh;
|
. ~/.nvm/nvm.sh;
|
||||||
. ~/.profile;
|
. ~/.profile;
|
||||||
. ~/.bashrc;
|
. ~/.bashrc;
|
||||||
nvm install 14.21.3;
|
nvm install 20.3.0;
|
||||||
}
|
}
|
||||||
|
|
||||||
function install_relayer_repo(){
|
function install_relayer_repo(){
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
"json-schema-to-ts": "^2.2.0",
|
"json-schema-to-ts": "^2.2.0",
|
||||||
"node-fetch": "2",
|
"node-fetch": "2",
|
||||||
"reflect-metadata": "^0.1.13",
|
"reflect-metadata": "^0.1.13",
|
||||||
"telegraf": "^4.8.2",
|
"telegraf": "^4.12.3-canary.1",
|
||||||
"torn-token": "^1.0.8",
|
"torn-token": "^1.0.8",
|
||||||
"tsyringe": "^4.8.0",
|
"tsyringe": "^4.8.0",
|
||||||
"tx-manager": "^0.4.9",
|
"tx-manager": "^0.4.9",
|
||||||
|
Loading…
Reference in New Issue
Block a user