diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..2dadb1b --- /dev/null +++ b/Dockerfile @@ -0,0 +1,15 @@ +FROM golang:alpine AS builder + +WORKDIR /go/src/git.zio.sh/bsky2tg +COPY . . + +RUN apk update && \ + apk add --no-cache git bash && \ + go get -d -v ./... && \ + go install + +FROM alpine:latest + +COPY --from=builder /go/bin/bsky2tg /usr/local/bin/bsky2tg + +CMD ["bsky2tg"] \ No newline at end of file