14 lines
170 B
Docker
14 lines
170 B
Docker
FROM golang:1.20-alpine
|
|
|
|
RUN apk add --no-cache git
|
|
WORKDIR /app
|
|
|
|
COPY go.mod go.sum ./
|
|
RUN go mod download
|
|
COPY . .
|
|
RUN go build -o main .
|
|
|
|
EXPOSE 48723
|
|
|
|
CMD ["./main"]
|