FROM python:3.14.4-slim-trixie
RUN apt-get update && apt-get install -yq socat
USER nobody:nogroup
CMD ["socat", "-T60", "TCP-L:1337,fork,reuseaddr", "EXEC:sh,stderr,pty,ctty,setsid,echo=0"]