add Dockerfile
All checks were successful
/ build (push) Successful in 1m52s

This commit is contained in:
Astra 2025-06-19 11:41:32 +01:00
parent 798f8134f4
commit e0a63bd7d5

15
Dockerfile Normal file
View file

@ -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"]