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.alpine Normal file
View file

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