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