diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..03e46d9 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,9 @@ +FROM go:1.26-alpine AS builder +WORKDIR /app +COPY . . +RUN go build -o gitea-runner main.go + +FROM alpine:latest +WORKDIR /app +COPY --from=builder /app/gitea-runner . +CMD ["./gitea-runner"] \ No newline at end of file