Monorepo for Tangled tangled.org
2

Configure Feed

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

1# Development only. Not for production use. 2 3FROM golang:1.25-alpine AS build 4 5RUN apk add --no-cache git 6 7WORKDIR /src 8COPY go.mod go.sum ./ 9RUN go mod download 10COPY . . 11RUN CGO_ENABLED=0 go build -o /knotmirror ./cmd/knotmirror 12 13FROM alpine:3.22 14 15RUN apk add --no-cache git tini ca-certificates 16 17 18COPY --from=build /knotmirror /usr/local/bin/knotmirror 19 20EXPOSE 7000 21 22ENTRYPOINT ["/sbin/tini", "--"] 23CMD ["sh", "-c", "if [ -f /usr/local/share/ca-certificates/caddy.crt ]; then update-ca-certificates; fi && exec /usr/local/bin/knotmirror serve"]