A fork of the Cocoon PDS but being made more distributed.
0

Configure Feed

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

at main 799 B View raw
1### Compile stage 2FROM golang:1.26.1-bookworm AS build-env 3 4WORKDIR /dockerbuild 5ADD . . 6 7RUN GIT_VERSION=$(git describe --tags --long --always || echo "dev-local") && \ 8 go mod tidy && \ 9 go build -ldflags "-X main.Version=$GIT_VERSION" -o cocoon ./cmd/cocoon 10 11### Run stage 12FROM debian:bookworm-slim AS run 13 14RUN apt-get update && apt-get install -y dumb-init runit ca-certificates curl && rm -rf /var/lib/apt/lists/* 15ENTRYPOINT ["dumb-init", "--"] 16 17WORKDIR / 18RUN mkdir -p data/cocoon 19COPY --from=build-env /dockerbuild/cocoon / 20 21COPY ./init-keys.sh / 22COPY ./create-initial-invite.sh / 23 24CMD ["/cocoon", "run"] 25 26LABEL org.opencontainers.image.source=https://github.com/haileyok/cocoon 27LABEL org.opencontainers.image.description="Cocoon ATProto PDS" 28LABEL org.opencontainers.image.licenses=MIT