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