chore: add qe and integrations with rabbit mq

This commit is contained in:
d3m0k1d
2026-04-29 14:26:59 +03:00
parent fe740da06b
commit d3a2fe0f9c
18 changed files with 1823 additions and 47 deletions
+25
View File
@@ -0,0 +1,25 @@
FROM golang:1.26-alpine AS builder
WORKDIR /app
COPY go.mod go.sum ./
RUN go mod download
COPY . .
RUN CGO_ENABLED=0 go build -o /server ./cmd/main.go && \
go install github.com/pressly/goose/v3/cmd/goose@latest
FROM alpine:3.19
RUN apk add --no-cache ca-certificates
WORKDIR /app
COPY --from=builder /server /server
COPY --from=builder /go/bin/goose /usr/local/bin/goose
COPY migrations /app/migrations
EXPOSE 8080
CMD ["/server"]