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