15 lines
171 B
Docker
15 lines
171 B
Docker
FROM golang:1.23
|
|
|
|
WORKDIR /app
|
|
|
|
# COPY go.mod go.sum ./
|
|
COPY go.mod ./
|
|
|
|
RUN go mod download
|
|
|
|
COPY *.go ./
|
|
|
|
RUN CGO_ENABLED=0 GOOS=linux go build -o /abyss
|
|
|
|
CMD ["/abyss"]
|