feat(worker): process attachments with thumbnails and bounded retries
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
FROM golang:1.27.1 AS build
|
||||
WORKDIR /src
|
||||
|
||||
COPY go.mod go.sum ./
|
||||
RUN go mod download
|
||||
|
||||
COPY . .
|
||||
RUN CGO_ENABLED=0 GOOS=linux go build -o /out/worker ./cmd/worker
|
||||
|
||||
FROM gcr.io/distroless/static-debian12:nonroot
|
||||
WORKDIR /app
|
||||
COPY --from=build /out/worker .
|
||||
ENTRYPOINT ["/app/worker"]
|
||||
Reference in New Issue
Block a user