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