为asynq历史任务在redis中添加生命周期,过期时间为订单过期时间
This commit is contained in:
@@ -3,6 +3,8 @@ FROM golang:alpine AS builder
|
||||
RUN apk add --no-cache --update git build-base
|
||||
ENV CGO_ENABLED=1
|
||||
WORKDIR /app
|
||||
COPY ./src/go.mod ./src/go.sum ./
|
||||
RUN go mod download
|
||||
|
||||
COPY ./src .
|
||||
RUN go mod tidy \
|
||||
|
||||
Reference in New Issue
Block a user