From 5edb16f36e33df9fdb78a3dd4f893c1082e64432 Mon Sep 17 00:00:00 2001 From: Jamie Curnow Date: Mon, 17 Jan 2022 21:46:26 +1000 Subject: [PATCH] Fix failing pip installs, downgrade setuptools --- docker/Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docker/Dockerfile b/docker/Dockerfile index a976ade..378fffb 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -46,6 +46,11 @@ RUN rm -rf /etc/services.d/frontend /etc/nginx/conf.d/dev.conf # Change permission of logrotate config file RUN chmod 644 /etc/logrotate.d/nginx-proxy-manager +# fix for pip installs +# https://github.com/NginxProxyManager/nginx-proxy-manager/issues/1769 +RUN pip uninstall --yes setuptools \ + && pip install "setuptools==58.0.0" + VOLUME [ "/data", "/etc/letsencrypt" ] ENTRYPOINT [ "/init" ]