Use newer model cause Discord be bussin'
This commit is contained in:
18
Dockerfile
Normal file
18
Dockerfile
Normal 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"]
|
||||
|
Reference in New Issue
Block a user