#FROM raonigabriel/web-terminal:latest #EXPOSE 7860 4040 80 #USER 1001 #ENTRYPOINT ["/sbin/tini", "--"] #CMD [ "ttyd", "-s", "3", "-p", "7860", "-u", "1001", "-t", "titleFixed=/bin/sh", "-t", "rendererType=webgl", "-t", "disableLeaveAlert=true", "/bin/sh", "-i", "-l" ] FROM raonigabriel/web-terminal:latest # Install tools as root RUN apk update && apk add --no-cache curl python3 # Run as root (not secure, but allows full access) USER root EXPOSE 7860 4040 80 ENTRYPOINT ["/sbin/tini", "--"] CMD [ "ttyd", "-s", "3", "-p", "7860", "-u", "0", "-t", "titleFixed=/bin/sh", "-t", "rendererType=webgl", "-t", "disableLeaveAlert=true", "/bin/sh", "-i", "-l" ]