This commit is contained in:
2026-08-20 21:42:57 +03:00
parent a320821d69
commit e45855e790
36 changed files with 399 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
{
"app": "go-test",
"project": "go-test",
"_app_id": "63e76372-f177-4401-8868-996406084240",
"_project_id": "9e724fe9-47d7-4dc3-b669-54294561ca36",
"port": 8000,
"publicAccess": {
"enabled": true,
"domain": "go-test-fbcdc461325b.hosted.ghaymah.systems"
},
"resourceTier": "t1",
"_detected": "go"
}
+15
View File
@@ -0,0 +1,15 @@
# 🔷 Auto-generated Dockerfile for Go
# Ghaymah detected:
FROM golang:1.22-alpine AS builder
WORKDIR /app
COPY go.mod go.sum* ./
RUN go mod download 2>/dev/null || true
COPY . .
RUN CGO_ENABLED=0 GOOS=linux go build -o /app/bin/app .
FROM alpine:3.19
RUN apk --no-cache add ca-certificates
COPY --from=builder /app/bin/app /app
EXPOSE 8080
CMD ["/app"]
Binary file not shown.

After

Width:  |  Height:  |  Size: 95 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 290 KiB

+3
View File
@@ -0,0 +1,3 @@
module go-test
go 1.22
+7
View File
@@ -0,0 +1,7 @@
package main
import "fmt"
func main() {
fmt.Println("Hello from Go!")
}