ARG NGINX_VERSION=stable FROM nginx:${NGINX_VERSION}-alpine RUN rm -rf /etc/nginx/conf.d/default.conf COPY --chmod=755 /scripts/docker-entrypoint.d/* /docker-entrypoint.d COPY templates /etc/nginx/templates EXPOSE 80