summaryrefslogtreecommitdiffstats
path: root/Dockerfile.alpine
blob: 141d56fe4a151284b74cb1329cf98d6167d39495 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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"]