FROM nginx:alpine ARG NGINX_CONF=nginx.conf RUN rm -f /etc/nginx/conf.d/default.conf COPY ${NGINX_CONF} /etc/nginx/conf.d/default.conf COPY dist/build/h5 /usr/share/nginx/html EXPOSE 80 CMD ["nginx", "-g", "daemon off;"]