Brijesh's Git Server — argus-core @ 590f666c334fbab570964e0ef9a06c3161efb729

Logging service

Dockerfile (view raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
FROM golang:1.23-alpine AS build

WORKDIR /app

COPY go.mod go.sum ./
COPY vendor/ ./vendor/

COPY . .

RUN go build -o main cmd/api/main.go

FROM scratch AS prod
WORKDIR /app
COPY --from=build /app/main /app/main

COPY ./cassandra_ca.crt /app/cassandra_ca.crt

EXPOSE ${PORT}
CMD ["./main"]