FROM openresty/openresty:1.21.4.1-buster@sha256:77da817d32ac51573d209214d55a1711e0012f2f41785ac0bdb7b25b756281e0
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;"]