diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-10-04 12:22:35 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-10-04 12:22:35 +0000 |
commit | 27389dc7d4aacc15a6201621fb793b3e1027f46e (patch) | |
tree | c91ab0ac9447b25f91c05e901212c2142fb95953 /Dockerfile | |
parent | Adding upstream version 1.7.3. (diff) | |
download | ttyd-0ff0c0d7fc0fe0cecdb6f84d58b4fc7296b05d7d.tar.xz ttyd-0ff0c0d7fc0fe0cecdb6f84d58b4fc7296b05d7d.zip |
Adding upstream version 1.7.4.upstream/1.7.4
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -1,11 +1,15 @@ FROM ubuntu:20.04 ARG TARGETARCH -COPY ./dist/${TARGETARCH}/ttyd /usr/bin/ttyd + +# Dependencies RUN apt-get update && apt-get install -y --no-install-recommends tini && rm -rf /var/lib/apt/lists/* +# Application +COPY ./dist/${TARGETARCH}/ttyd /usr/bin/ttyd + EXPOSE 7681 WORKDIR /root ENTRYPOINT ["/usr/bin/tini", "--"] -CMD ["ttyd", "bash"] +CMD ["ttyd", "-W", "bash"] |