diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-10-04 12:22:44 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-10-04 12:22:44 +0000 |
commit | 258ebf86e270c9730a876c7aa1bdb69d0de6f9aa (patch) | |
tree | 09e011af68711c0e5c92298d475450cbd1cc7be1 /Dockerfile.alpine | |
parent | Releasing debian version 1.7.3-2. (diff) | |
download | ttyd-258ebf86e270c9730a876c7aa1bdb69d0de6f9aa.tar.xz ttyd-258ebf86e270c9730a876c7aa1bdb69d0de6f9aa.zip |
Merging upstream version 1.7.4.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'Dockerfile.alpine')
-rw-r--r-- | Dockerfile.alpine | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Dockerfile.alpine b/Dockerfile.alpine index 844b53c..141d56f 100644 --- a/Dockerfile.alpine +++ b/Dockerfile.alpine @@ -1,11 +1,15 @@ FROM alpine ARG TARGETARCH -COPY ./dist/${TARGETARCH}/ttyd /usr/bin/ttyd + +# Dependencies RUN apk add --no-cache bash tini +# Application +COPY ./dist/${TARGETARCH}/ttyd /usr/bin/ttyd + EXPOSE 7681 WORKDIR /root ENTRYPOINT ["/sbin/tini", "--"] -CMD ["ttyd", "bash"] +CMD ["ttyd", "-W", "bash"] |