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