Skip to content

Commit 5edb16f

Browse files
committed
Fix failing pip installs, downgrade setuptools
1 parent 51ac4bc commit 5edb16f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docker/Dockerfile

+5
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@ RUN rm -rf /etc/services.d/frontend /etc/nginx/conf.d/dev.conf
4646
# Change permission of logrotate config file
4747
RUN chmod 644 /etc/logrotate.d/nginx-proxy-manager
4848

49+
# fix for pip installs
50+
# https://github.com/NginxProxyManager/nginx-proxy-manager/issues/1769
51+
RUN pip uninstall --yes setuptools \
52+
&& pip install "setuptools==58.0.0"
53+
4954
VOLUME [ "/data", "/etc/letsencrypt" ]
5055
ENTRYPOINT [ "/init" ]
5156

0 commit comments

Comments
 (0)