Update build/entrypoint.sh

make port 12025 and 12143 available
This commit is contained in:
Mouws 2025-07-14 22:17:54 +00:00
parent b643ecf9b6
commit d92b3d4194

View File

@ -23,8 +23,8 @@ else
# socat will make the conn appear to come from 127.0.0.1 # socat will make the conn appear to come from 127.0.0.1
# ProtonMail Bridge currently expects that. # ProtonMail Bridge currently expects that.
# It also allows us to bind to the real ports :) # It also allows us to bind to the real ports :)
socat TCP-LISTEN:25,fork TCP:127.0.0.1:1025 & socat TCP-LISTEN:12025,fork TCP:127.0.0.1:1025 &
socat TCP-LISTEN:143,fork TCP:127.0.0.1:1143 & socat TCP-LISTEN:12143,fork TCP:127.0.0.1:1143 &
# Start protonmail # Start protonmail
# Fake a terminal, so it does not quit because of EOF... # Fake a terminal, so it does not quit because of EOF...