15 lines
No EOL
272 B
Docker
15 lines
No EOL
272 B
Docker
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"] |