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;"]