diff --git a/01-dockerfile/Dockerfile b/01-dockerfile/Dockerfile index 61a66d4..f1e2537 100644 --- a/01-dockerfile/Dockerfile +++ b/01-dockerfile/Dockerfile @@ -1,4 +1,5 @@ FROM nginx +# FROM nginx:1.12 COPY index.html /usr/share/nginx/html diff --git a/02-volumes/README.md b/02-volumes/README.md index b5bbde4..eb63870 100644 --- a/02-volumes/README.md +++ b/02-volumes/README.md @@ -5,7 +5,7 @@ $PWD return the absolute path to your current directory, test in your terminal: - echo $PWD + echo $PWD (Print Working Directory) /home/thibaut/meetup_docker_101/02-volumes @@ -28,6 +28,4 @@ $PWD return the absolute path to your current directory, test in your terminal: root@51aafa93a21e:/home/docker# ls -alh drwxrwxr-x 2 1000 1000 4.0K Sep 25 20:25 . drwxr-xr-x 3 root root 4.0K Sep 25 20:16 .. - -rw-rw-r-- 1 1000 1000 492 Sep 25 20:25 README.md - -rw-rw-r-- 1 1000 1000 123 Sep 25 20:15 nginx.conf -rw-rw-r-- 1 1000 1000 113 Sep 22 19:31 toto.html diff --git a/02-volumes/nginx.conf b/02-volumes/nginx.conf index 95387dd..0be9192 100644 --- a/02-volumes/nginx.conf +++ b/02-volumes/nginx.conf @@ -1,5 +1,6 @@ server { listen 80; + root /home/docker; index toto.html; diff --git a/02-volumes/toto.html b/02-volumes/toto.html index da16a17..53bb68f 100644 --- a/02-volumes/toto.html +++ b/02-volumes/toto.html @@ -4,6 +4,6 @@
hello world !
+hello world from toto.html