use available node version
This commit is contained in:
parent
c4c8b2ee97
commit
3830ddd2dc
@ -136,7 +136,7 @@ The [`docker`](./docker) subfolder has some docker configurations for easily set
|
|||||||
Using multistage dockerfile dist is compiled using [node](https://hub.docker.com/_/node) image and later packed to nginx as in [dist build](#dist-build). The multistage builds ensures consistent CPU architecture and build toolchains are used so that the result will be identical.
|
Using multistage dockerfile dist is compiled using [node](https://hub.docker.com/_/node) image and later packed to nginx as in [dist build](#dist-build). The multistage builds ensures consistent CPU architecture and build toolchains are used so that the result will be identical.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker build --build-arg APP=[YOUR APP] --build-arg NODE_VERSION=20.9.1 --build-arg ENV_NAME=mainnet -t [TAG] -f docker/node-inside-docker.Dockerfile .
|
docker build --build-arg APP=[YOUR APP] --build-arg NODE_VERSION=20.11 --build-arg ENV_NAME=mainnet -t [TAG] -f docker/node-inside-docker.Dockerfile .
|
||||||
```
|
```
|
||||||
|
|
||||||
### Computing ipfs-hash of the build
|
### Computing ipfs-hash of the build
|
||||||
|
Loading…
Reference in New Issue
Block a user