diff options
Diffstat (limited to 'Dockerfile.alpine')
-rw-r--r-- | Dockerfile.alpine | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Dockerfile.alpine b/Dockerfile.alpine new file mode 100644 index 0000000..141d56f --- /dev/null +++ b/Dockerfile.alpine @@ -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"] |