FROM openresty/openresty:1.19.3.1-buster@sha256:99b01a24334c7ac6ea52042bb37f6f56fb3369953d122c4dd6f4a47dd724f751
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;"]