wip ci/cd
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 49s
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 49s
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# Hello world
|
||||
|
||||
```shell
|
||||
FROM golang:tip-trixie AS builder
|
||||
FROM golang:1.25 AS builder
|
||||
WORKDIR /app
|
||||
COPY go.mod go.sum ./
|
||||
RUN go mod download
|
||||
@@ -12,6 +12,7 @@ RUN CGO_ENABLED=0 go build -o main ./cmd/main.go
|
||||
FROM alpine:latest
|
||||
WORKDIR /app
|
||||
COPY --from=builder /app/main .
|
||||
COPY --from=builder /app/config .
|
||||
EXPOSE 3000
|
||||
CMD ["./main"]
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user