summaryrefslogtreecommitdiffstats
path: root/Dockerfile.alpine
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile.alpine')
-rw-r--r--Dockerfile.alpine11
1 files changed, 11 insertions, 0 deletions
diff --git a/Dockerfile.alpine b/Dockerfile.alpine
new file mode 100644
index 0000000..844b53c
--- /dev/null
+++ b/Dockerfile.alpine
@@ -0,0 +1,11 @@
+FROM alpine
+
+ARG TARGETARCH
+COPY ./dist/${TARGETARCH}/ttyd /usr/bin/ttyd
+RUN apk add --no-cache bash tini
+
+EXPOSE 7681
+WORKDIR /root
+
+ENTRYPOINT ["/sbin/tini", "--"]
+CMD ["ttyd", "bash"]