1
0
Fork 0
ttyd_ext/ttyd/Dockerfile

16 lines
301 B
Docker

FROM ubuntu:20.04
ARG TARGETARCH
# Dependencies
RUN apt-get update && apt-get install -y --no-install-recommends tini && rm -rf /var/lib/apt/lists/*
# Application
COPY ./dist/${TARGETARCH}/ttyd /usr/bin/ttyd
EXPOSE 7681
WORKDIR /root
ENTRYPOINT ["/usr/bin/tini", "--"]
CMD ["ttyd", "-W", "bash"]