My own repo with exiting with programs exit code.

This commit is contained in:
Lei Chen 2025-11-04 11:00:14 +08:00
parent b745c44832
commit 027e546e1f
47 changed files with 32301 additions and 1 deletions

15
Dockerfile Normal file
View file

@ -0,0 +1,15 @@
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"]