This commit is contained in:
2026-03-05 02:10:21 +01:00
parent b428ee0635
commit 8ee9b364ee
7 changed files with 315 additions and 47 deletions

View File

@@ -0,0 +1,17 @@
FROM alpine:3.20
RUN apk add --no-cache \
ttyd \
bash \
openssh-client \
curl \
jq \
sshpass
WORKDIR /app
COPY tools/pi_control/terminal_entry.sh /app/tools/pi_control/terminal_entry.sh
RUN chmod +x /app/tools/pi_control/terminal_entry.sh
EXPOSE 7681
ENTRYPOINT ["ttyd", "--url-arg", "--base-path", "/ttyd", "/app/tools/pi_control/terminal_entry.sh"]