FROM openresty/openresty:1.21.4.1-buster@sha256:1613c0033c1fd69d04e49eb2bedc2538ebdee0ddc3de6620d27bcf9a04621846
COPY nginx.conf.template /
COPY entrypoint.sh /
ENV RESOLVER=1.1.1.1
EXPOSE 80
STOPSIGNAL SIGQUIT
ENTRYPOINT ["bash", "entrypoint.sh"]
CMD ["openresty", "-g", "daemon off;"]