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