summaryrefslogtreecommitdiffstats
path: root/Dockerfile.alpine
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 02:54:31 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 02:54:31 +0000
commit3b4936b6f2b870f9f2444ebb6ce1ca2de3f49d9f (patch)
treec91ab0ac9447b25f91c05e901212c2142fb95953 /Dockerfile.alpine
parentInitial commit. (diff)
downloadttyd-3b4936b6f2b870f9f2444ebb6ce1ca2de3f49d9f.tar.xz
ttyd-3b4936b6f2b870f9f2444ebb6ce1ca2de3f49d9f.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.alpine')
-rw-r--r--Dockerfile.alpine15
1 files changed, 15 insertions, 0 deletions
diff --git a/Dockerfile.alpine b/Dockerfile.alpine
new file mode 100644
index 0000000..141d56f
--- /dev/null
+++ b/Dockerfile.alpine
@@ -0,0 +1,15 @@
+FROM alpine
+
+ARG TARGETARCH
+
+# 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", "-W", "bash"]