initial commit
This commit is contained in:
11
Dockerfile
Normal file
11
Dockerfile
Normal file
@ -0,0 +1,11 @@
|
||||
FROM golang:1.24.4 AS builder
|
||||
|
||||
WORKDIR /app
|
||||
COPY . .
|
||||
RUN go mod tidy && go build -o bot main.go
|
||||
|
||||
FROM debian:bookworm-slim
|
||||
WORKDIR /app
|
||||
RUN apt-get update && apt-get install -y ca-certificates && update-ca-certificates
|
||||
COPY --from=builder /app/bot .
|
||||
CMD ["./bot"]
|
||||
Reference in New Issue
Block a user