FROM nginx:latest COPY www /usr/share/nginx/html COPY entrypoint.sh /entrypoint.sh RUN chmod +x /entrypoint.sh ENTRYPOINT ["/entrypoint.sh"] STOPSIGNAL SIGQUIT CMD ["nginx", "-g", "daemon off;"]