tty
This commit is contained in:
17
tools/pi_control/ttyd/Dockerfile
Normal file
17
tools/pi_control/ttyd/Dockerfile
Normal 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"]
|
||||
Reference in New Issue
Block a user