init integration test

This commit is contained in:
2025-04-18 19:32:57 +02:00
parent 81389a2dea
commit 719952dd18
10 changed files with 283 additions and 35 deletions

View File

@@ -0,0 +1,18 @@
FROM golang:alpine AS build
WORKDIR /app
COPY . .
RUN go get ./...
RUN go build -o db-adapter
RUN apk update && apk add ca-certificates && update-ca-certificates
FROM busybox:1.36.1
COPY --from=build /etc/ssl/certs /etc/ssl/certs
COPY --from=build /app/db-adapter /app/
CMD [ "/app/db-adapter" ]