13 lines
172 B
Docker
13 lines
172 B
Docker
FROM golang:1.23.12-alpine
|
|
|
|
RUN apk update && apk add --no-cache git
|
|
|
|
WORKDIR /app
|
|
|
|
COPY . .
|
|
|
|
RUN go mod tidy
|
|
|
|
RUN go build -o binary -tags musl
|
|
|
|
ENTRYPOINT ["/app/binary"] |