summaryrefslogtreecommitdiffstats
path: root/Dockerfile
blob: 03603f479d21b15cdb765105f673c23a6d8e4378 (plain)
1
2
3
4
5
6
7
8
9
10
11
FROM ubuntu:20.04

ARG TARGETARCH
COPY ./dist/${TARGETARCH}/ttyd /usr/bin/ttyd
RUN apt-get update && apt-get install -y --no-install-recommends tini && rm -rf /var/lib/apt/lists/*

EXPOSE 7681
WORKDIR /root

ENTRYPOINT ["/usr/bin/tini", "--"]
CMD ["ttyd", "bash"]