all repos — infra @ f68c4a600527fe805a25ef8bc2547507bbcd32ce

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