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