all repos — legit @ 7e3307efe8a1af7b0da6a3ccfcee40ef5f5d98d8

web frontend for git

contrib/Dockerfile (view raw)

 1FROM golang:1.19-alpine AS builder
 2
 3WORKDIR /app
 4
 5COPY . ./
 6
 7RUN apk add gcc musl-dev libc-dev
 8
 9RUN go mod download
10RUN go mod verify
11RUN go build -o legit
12
13FROM alpine:latest
14
15WORKDIR /app
16
17COPY static ./static
18COPY templates ./templates
19COPY config.yaml ./
20COPY --from=builder /app/legit ./
21
22EXPOSE 5555
23
24CMD ["./legit"]
25