[mirror] a bluesky bot to post golang projects
4
fork

Configure Feed

Select the types of activity you want to include in your feed.

Chore(deployment): add Dockerfile

+22
+2
.dockerignore
··· 1 + .envrc 2 + .github
+20
Dockerfile
··· 1 + FROM golang:1.23 AS build 2 + 3 + WORKDIR /build 4 + 5 + COPY go.mod go.sum ./ 6 + RUN go mod download 7 + 8 + COPY . ./ 9 + RUN go build ./cmd/... 10 + 11 + FROM debian:bookworm-slim 12 + 13 + RUN DEBIAN_FRONTEND=noninteractive apt update \ 14 + && apt install -y ca-certificates 15 + 16 + USER 65534:65534 17 + 18 + COPY --from=build --chown=65534:65534 /build/bot /usr/bin/bot 19 + 20 + ENTRYPOINT [ "/usr/bin/bot" ]