Use newer model cause Discord be bussin'

This commit is contained in:
2025-05-03 21:57:59 +00:00
parent 2732420294
commit 6b8f4674c3
8 changed files with 43 additions and 14 deletions

18
Dockerfile Normal file
View File

@ -0,0 +1,18 @@
FROM golang:latest AS builder
WORKDIR /app
COPY . .
# Build static binary
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o discord-gpt-bot main.go
FROM debian:bookworm-slim
# ✅ Install CA certs
RUN apt-get update && apt-get install -y ca-certificates && rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY --from=builder /app/discord-gpt-bot .
CMD ["./discord-gpt-bot"]