FILE / ScuroNeko/gitea-runner-test

Dockerfile

Исходный файл и его история в репозитории.
FILE 8a1ac0a2eac67b1a71c97411ff7e6228314429da
Files
gitea-runner-test/Dockerfile
T
ScuroNeko 32493a96e4
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 7s
Build and push image / docker (push) Successful in 40s
Python CI / python (push) Failing after 6s
Golang lint / GoLint (push) Successful in 18m57s
test
2026-04-23 15:23:06 +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"]