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