Monorepo for Tangled tangled.org
5

Configure Feed

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

at icy/sntnrt 625 B View raw
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# Trust dev CA in the system bundle so git/curl/openssl all accept caddy certs. 18COPY localinfra/certs/root.crt /usr/local/share/ca-certificates/caddy.crt 19RUN update-ca-certificates 20 21COPY --from=build /knotmirror /usr/local/bin/knotmirror 22 23EXPOSE 7000 24 25ENTRYPOINT ["/sbin/tini", "--"] 26CMD ["/usr/local/bin/knotmirror", "serve"]