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