blob: f436af96f4d841ea975bee14a4bab7a635a7bee8 (
plain) (
tree)
|
|
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"]
|