aboutsummaryrefslogblamecommitdiffstats
path: root/Dockerfile
blob: a48d3c14bca33b5a5906d835533d85cd0dfb0fd7 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                                                                                          
FROM golang:1.22

WORKDIR /usr/src/app


COPY go.mod go.sum ./
RUN go mod download && go mod verify

COPY . .
RUN CGO_ENABLED=1 GOOS=linux go build -ldflags="-s -w " -buildvcs=false  -o /donetick-core

EXPOSE 8080
CMD ["donetick-core"]