summaryrefslogtreecommitdiffstats
path: root/Dockerfile.alpine
blob: 844b53c4a2f4569f18a2dc5430efeb59f3c28f83 (plain)
1
2
3
4
5
6
7
8
9
10
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"]