all repos — infra @ 18c124d3ef3d6a6ecdc378b644dcc51f6d6f4a1b

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