Skip to content

Commit 8cfaff7

Browse files
sujanchhetrinschonni
authored andcommitted
docs link update,node v from 12->14
- docker hub link is pointed to node image in the hub as per the sentence - official docker docs is pointed to docs for building node-image - node v from 12->14
1 parent 7904ef9 commit 8cfaff7

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

locale/en/docs/guides/nodejs-docker-webapp.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,11 @@ touch Dockerfile
8080
Open the `Dockerfile` in your favorite text editor
8181

8282
The first thing we need to do is define from what image we want to build from.
83-
Here we will use the latest LTS (long term support) version `12` of `node`
84-
available from the [Docker Hub](https://hub.docker.com/):
83+
Here we will use the latest LTS (long term support) version `14` of `node`
84+
available from the [Docker Hub](https://hub.docker.com/_/node):
8585

8686
```docker
87-
FROM node:12
87+
FROM node:14
8888
```
8989

9090
Next we create a directory to hold the application code inside the image, this
@@ -143,7 +143,7 @@ CMD [ "node", "server.js" ]
143143
Your `Dockerfile` should now look like this:
144144

145145
```docker
146-
FROM node:12
146+
FROM node:14
147147
148148
# Create app directory
149149
WORKDIR /usr/src/app
@@ -194,7 +194,7 @@ $ docker images
194194

195195
# Example
196196
REPOSITORY TAG ID CREATED
197-
node 12 1934b0b038d1 5 days ago
197+
node 14 1934b0b038d1 5 days ago
198198
<your username>/node-web-app latest d64d3505b0d2 1 minute ago
199199
```
200200

@@ -268,6 +268,6 @@ following places:
268268

269269
* [Official Node.js Docker Image](https://hub.docker.com/_/node/)
270270
* [Node.js Docker Best Practices Guide](https://github.com/nodejs/docker-node/blob/master/docs/BestPractices.md)
271-
* [Official Docker documentation](https://docs.docker.com/)
271+
* [Official Docker documentation](https://docs.docker.com/get-started/nodejs/build-images/)
272272
* [Docker Tag on Stack Overflow](https://stackoverflow.com/questions/tagged/docker)
273273
* [Docker Subreddit](https://reddit.com/r/docker)

0 commit comments

Comments
 (0)