FILE / ScuroNeko/gitea-runner-test

go.Dockerfile

Исходный файл и его история в репозитории.
FILE e12fe78138b5f8b960da72f06e98f8af0846a5a9
Files
gitea-runner-test/go.Dockerfile
T
ScuroNeko e12fe78138
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 7s
Build and push image / docker (push) Failing after 24s
Python CI / python (push) Has been cancelled
Golang lint / GoLint (push) Has been cancelled
test
2026-04-23 15:22:08 +03:00

9 lines
203 B
Docker

FROM golang:1.26-alpine AS builder
WORKDIR /app
COPY go.mod main.go ./
RUN go build -o gitea-runner main.go
FROM alpine:latest
WORKDIR /app
COPY --from=builder /app/gitea-runner .
CMD ["./gitea-runner"]