wip ci/cd
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 1s
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 1s
This commit is contained in:
8
Dockerfile
Normal file
8
Dockerfile
Normal file
@@ -0,0 +1,8 @@
|
||||
FROM golang:latest
|
||||
WORKDIR /app
|
||||
COPY go.mod go.sum ./
|
||||
RUN go mod download
|
||||
COPY . .
|
||||
RUN CGO_ENABLED=0 go build -o main ./cmd/main.go
|
||||
EXPOSE 3000
|
||||
CMD ["./main"]
|
||||
Reference in New Issue
Block a user