diff --git a/Dockerfile b/Dockerfile index 3f8e341..a3e4a97 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,6 +3,9 @@ FROM docker.liyanyan.work/library/nginx:alpine # Copy our default server config; site content is not baked into the image. COPY nginx/default.conf /etc/nginx/conf.d/default.conf +# Copy static site content +COPY example/site/index.html /usr/share/nginx/html/index.html + EXPOSE 80 CMD ["nginx", "-g", "daemon off;"]