all repos — infra @ e10443c6f9ae1a0ecf550ed5f2a161fa6f4433c8

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"]