Browse Source

Fix failing pip installs, downgrade setuptools

Jamie Curnow 3 years ago
parent
commit
5edb16f36e
1 changed files with 5 additions and 0 deletions
  1. 5 0
      docker/Dockerfile

+ 5 - 0
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" ]