15 lines
293 B
Docker
15 lines
293 B
Docker
|
FROM openresty/openresty:1.19.3.1-buster@sha256:1b970e585389f3cbbb4429c00ec6ada0082926ea0db9a2f3a9c105cbb4f437e4
|
||
|
|
||
|
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;"]
|