Yule init
Some checks failed
Docker Deploy / build-and-push (push) Failing after 2m8s

This commit is contained in:
2025-12-23 10:38:26 -07:00
commit 30acc98f71
8 changed files with 457 additions and 0 deletions

21
Dockerfile Normal file
View File

@@ -0,0 +1,21 @@
FROM golang:1.23-alpine AS builder
WORKDIR /app
COPY go.mod go.sum ./
RUN go mod download
COPY . .
RUN CGO_ENABLED=0 GOOS=linux go build -o yule main.go
FROM alpine:latest
RUN apk --no-cache add ca-certificates
WORKDIR /app
COPY --from=builder /app/yule .
EXPOSE 2222
CMD ["./yule"]