Skip to content

Commit 0044209

Browse files
committed
docs: update nodejs versions to 22 in README.md
Signed-off-by: Mert Şişmanoğlu <[email protected]>
1 parent cde3411 commit 0044209

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ See: http://nodejs.org
5252

5353
```dockerfile
5454
# specify the node base image with your desired version node:<version>
55-
FROM node:16
55+
FROM node:22
5656
# replace this with your application's default port
5757
EXPOSE 8888
5858
```
@@ -105,7 +105,7 @@ complete `Dockerfile`. In such cases, you can run a Node.js script by using the
105105
Node.js Docker image directly:
106106

107107
```console
108-
$ docker run -it --rm --name my-running-script -v "$PWD":/usr/src/app -w /usr/src/app node:8 node your-daemon-or-script.js
108+
$ docker run -it --rm --name my-running-script -v "$PWD":/usr/src/app -w /usr/src/app node:22 node your-daemon-or-script.js
109109
```
110110

111111
### Verbosity

0 commit comments

Comments
 (0)