bsky2tg: add Containerfile
This commit is contained in:
parent
bd53870157
commit
5959398e50
1 changed files with 15 additions and 0 deletions
15
bsky2tg/Containerfile
Normal file
15
bsky2tg/Containerfile
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
FROM golang:alpine AS builder
|
||||||
|
|
||||||
|
WORKDIR /go/src/git.zio.sh/astra/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"]
|
Loading…
Add table
Add a link
Reference in a new issue