all repos — legit @ acac8d47d0dd4bab02274f750d22937044bee988

web frontend for git, written in go

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