blob: a3a6e3710ab046071fa9d519418b77b756b3f61a (
plain) (
blame)
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
ENV DT_ENV="selfhosted"
EXPOSE 2021
CMD ["donetick"]
|