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