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