FROM openresty/openresty:1.19.9.1-buster@sha256:c14dc64891b295c665a27c57be6090fb65ae5bd002d006fb14835665408df909
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;"]