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