all repos — infra @ 13d143bca8aeaec2447be2ee2089fdbb3bb01f27

infrastructure manifests and setup notes

apps/yarr/Dockerfile (view raw)

 1FROM golang:alpine AS build
 2RUN apk add build-base git
 3WORKDIR /src
 4COPY . .
 5RUN make build_linux
 6
 7FROM alpine:latest
 8RUN apk add --no-cache ca-certificates && \
 9    update-ca-certificates
10COPY --from=build /src/_output/linux/yarr /usr/local/bin/yarr
11EXPOSE 7070
12CMD ["/usr/local/bin/yarr", "-addr", "0.0.0.0:7070", "-db", "/data/yarr.db"]