14 lines
293 B
Docker
14 lines
293 B
Docker
FROM openresty/openresty:1.19.9.1-buster@sha256:f441b6077669f142b62f58d61ede5c46f7572a7d6a9cb27ec6c54b4055ca5b1f
|
|
|
|
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;"]
|