From 3b4936b6f2b870f9f2444ebb6ce1ca2de3f49d9f Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 04:54:31 +0200 Subject: Adding upstream version 1.7.4. Signed-off-by: Daniel Baumann --- Dockerfile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Dockerfile (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..d312df1 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,15 @@ +FROM ubuntu:20.04 + +ARG TARGETARCH + +# 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", "-W", "bash"] -- cgit v1.2.3