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