🎉first commit

This commit is contained in:
2024-08-22 15:17:03 +04:00
commit 1574f3014c
7 changed files with 665 additions and 0 deletions

17
Dockerfile Normal file
View File

@ -0,0 +1,17 @@
FROM golang:1.22.6-alpine AS builder
WORKDIR /azalbot
COPY go.mod go.sum ./
RUN go mod download
COPY main.go ./main.go
RUN go build -ldflags "-s -w" -o azal-bot
FROM gcr.io/distroless/static-debian12:latest
WORKDIR /azalbot
COPY --from=builder /azalbot/azal-bot /azalbot/azal-bot
ENTRYPOINT ["./azal-bot"]