18 lines
379 B
Docker
18 lines
379 B
Docker
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"]
|