Spaces:
Sleeping
Sleeping
Modified README
Browse files- README.md +4 -0
- Dockerfile → hello-world/Dockerfile +1 -1
- hello-world/app.js +1 -0
README.md
CHANGED
@@ -20,4 +20,8 @@ Successfully run update package
|
|
20 |
# Download Docker Desktop
|
21 |
|
22 |
|
|
|
|
|
|
|
|
|
23 |
|
|
|
20 |
# Download Docker Desktop
|
21 |
|
22 |
|
23 |
+
`docker ps`
|
24 |
+
`docker image ls`
|
25 |
+
`docker run -it ubuntu`
|
26 |
+
|
27 |
|
Dockerfile → hello-world/Dockerfile
RENAMED
@@ -1,4 +1,4 @@
|
|
1 |
-
FROM node:
|
2 |
COPY . /app
|
3 |
WORKDIR /app
|
4 |
CMD node app.js
|
|
|
1 |
+
FROM node:alpine
|
2 |
COPY . /app
|
3 |
WORKDIR /app
|
4 |
CMD node app.js
|
hello-world/app.js
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
console.log("Hello World!");
|