diff --git a/Dockerfile b/Dockerfile index b12d22a48fa24cc71c5ef4538450c101fed9997e..962d0e2f6e7096c315c31edf3215cd33b83ba644 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,16 +1,13 @@ FROM dbogatov/docker-images:nginx-latest -MAINTAINER Dmytro Bogatov dmytro@dbogatov.org +LABEL maintainer="Dmytro Bogatov <dmytro@dbogatov.org>" WORKDIR /srv # Copy the source -COPY . . +COPY website . # Copy the NGINX config COPY nginx.conf /etc/nginx/conf.d/default.conf -# Remove NGINX config from source -RUN rm nginx.conf - CMD ["nginx", "-g", "daemon off;"] diff --git a/index.html b/website/index.html similarity index 73% rename from index.html rename to website/index.html index 8e70d41c4cdf3bfd9abf15ab1e5793bc3e222b43..aa5287bbe64ca3b7ee4acb953cc961003f3dfe94 100644 --- a/index.html +++ b/website/index.html @@ -9,6 +9,9 @@ <h1> Your content </h1> + <p> + <a href="google.com">Google</a> + </p> </body> </html>