Spaces:
neuroama
/
Sleeping

aa / Dockerfile
ykl45's picture
Create Dockerfile
0295bcd verified
raw
history blame
No virus
315 Bytes
FROM golang:1.21 AS builder
ENV CGO_ENABLED=0
RUN apk --no-cache add git
RUN git clone https://github.com/aurora-develop/aurora.git /app
WORKDIR /app
RUN go mod download
RUN go build -o /app/aurora .
FROM alpine:latest
WORKDIR /app
COPY --from=builder /app/aurora /app/aurora
EXPOSE 8080
CMD ["./aurora"]