File size: 368 Bytes
0295bcd
 
 
 
123c450
0295bcd
35804e6
0295bcd
 
 
 
 
bd6c0f8
0295bcd
 
 
 
64733c4
0295bcd
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FROM golang:1.21 AS builder

ENV CGO_ENABLED=0

RUN apt-get update && apt-get install -y git

RUN git clone https://github.com/renqabs/aa.git /app

WORKDIR /app

RUN go mod download

RUN go build -ldflags "-s -w" -o /app/aurora .

FROM alpine:latest

WORKDIR /app
RUN apk add --no-cache tzdata
COPY --from=builder /app/aurora /app/aurora

EXPOSE 8080

CMD ["./aurora"]