You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/02-docker-compose/readme.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,7 +43,7 @@ We've already created a simple app in `code/guestbook-node` that uses node.js wi
43
43
2. Review `Dockerfile`:
44
44
45
45
```
46
-
FROM mhart/alpine-node:latest
46
+
FROM node:7.7.0-alpine
47
47
RUN mkdir /code
48
48
WORKDIR /code
49
49
ADD package.json /code/
@@ -52,7 +52,7 @@ ADD . /code/
52
52
CMD ["node", "main.js"]
53
53
```
54
54
55
-
We use the base image of `mhart/alpine-node`. Although it's not the official nodejs image, we preferred to use it because it's based in Alpine, a light linux distribution.
55
+
We use the base image of `node:7.7.0-alpine`. It is the official imagein Alpine, a minimal OS.
56
56
57
57
The `Dockerfile` then creates the directory where our code will be stored, `/code`, and it copies the `package.json` so it can install the node dependencies.
58
58
@@ -202,4 +202,4 @@ Previous | Next
202
202
203
203
# Credits
204
204
205
-
This workshop was prepared by [harbur.io](http://harbur.io), under MIT License. Feel free to fork and improve.
205
+
This workshop was prepared by [harbur.io](http://harbur.io), under MIT License. Feel free to fork and improve.
0 commit comments