15 lines
No EOL
327 B
Docker
15 lines
No EOL
327 B
Docker
FROM golang:alpine AS builder
|
|
|
|
WORKDIR /go/src/git.zio.sh/astra/bsky2tg
|
|
|
|
RUN apk update && \
|
|
apk add --no-cache git bash && \
|
|
git clone https://git.zio.sh/astra/bsky2tg.git . && \
|
|
go get -d -v ./... && \
|
|
go install
|
|
|
|
FROM alpine:latest
|
|
|
|
COPY --from=builder /go/bin/bsky2tg /usr/local/bin/bsky2tg
|
|
|
|
CMD ["bsky2tg"] |