Update bot logic, Dockerfile and docker-compose.yml
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# Build stage
|
||||
FROM golang:1.21-alpine AS builder
|
||||
FROM golang:1.25-alpine AS builder
|
||||
|
||||
WORKDIR /app
|
||||
COPY go.mod go.sum ./
|
||||
@@ -15,6 +15,7 @@ ENV TZ=Asia/Shanghai
|
||||
|
||||
WORKDIR /app
|
||||
COPY --from=builder /app/go-helper .
|
||||
COPY image.png .
|
||||
COPY .env.example .env
|
||||
|
||||
ENTRYPOINT ["./go-helper"]
|
||||
|
||||
Reference in New Issue
Block a user