mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-08-19 20:13:44 +00:00
docs: update README.md
Co-authored-by: Jordan Harband <ljharb@gmail.com>
This commit is contained in:
parent
07ed13a7bb
commit
8b14f369a1
@ -87,8 +87,7 @@ Eg: `curl ... | NVM_DIR="path/to/nvm"`. Ensure that the `NVM_DIR` does not conta
|
|||||||
|
|
||||||
#### Installing in Docker
|
#### Installing in Docker
|
||||||
|
|
||||||
To install `nvm` in Docker, you may need to prepare you image's environment
|
To install `nvm` in Docker, you may need to prepare your image's environment in advance in order to use `node` & `npm`. Here's a winning recipe:
|
||||||
in advanced in order to use `node` & `npm`. Here's a winning recipe:
|
|
||||||
|
|
||||||
```Dockerfile
|
```Dockerfile
|
||||||
# set your target node version
|
# set your target node version
|
||||||
|
Loading…
x
Reference in New Issue
Block a user