-
This commit is contained in:
David Chen
2026-02-12 00:54:45 +08:00
committed by GitHub
parent 41ddc6b60f
commit f9c40f05c3
14 changed files with 669 additions and 0 deletions

12
datasource/Dockerfile Normal file
View File

@@ -0,0 +1,12 @@
FROM golang:1.25.7-trixie AS build
ENV CGO_ENABLED=1
WORKDIR /app
COPY go.mod go.sum .
RUN go mod download
COPY . .
RUN go build -o main .
FROM ubuntu:24.04
COPY --from=build /app/main /app/main
WORKDIR /app
CMD ["./main"]