FILE / ScuroNeko/gitea-runner-test

Dockerfile

Исходный файл и его история в репозитории.
FILE 953dd83d42a7544ece9acc5b684ad8667ddae950
Files
gitea-runner-test/Dockerfile
T
ScuroNeko 5f8e87a7ba
Golang lint / GoLint (push) Successful in 2m25s
Build and push image / docker (push) Successful in 1m8s
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled
test
2026-04-23 14:20:50 +03:00

9 lines
189 B
Docker

FROM golang: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"]