fix(conpot): Keep container as root to allow port 502 binding and fix user not found error

This commit is contained in:
2026-04-10 02:20:46 -04:00
parent f583b3d699
commit 33885a2eec

View File

@@ -11,5 +11,4 @@ RUN find /opt /usr /etc /home -name "*.xml" -exec sed -i 's/<port>5020<\/port>/<
RUN find /opt /usr /etc /home -name "*.xml" -exec sed -i 's/port="5020"/port="502"/g' {} + 2>/dev/null || true
# Switching back to the internal user if standard in conpot (falling back to nobody/conpot as appropriate)
# Conpot image usually runs as 'conpot' user
USER conpot
# End of Dockerfile