Clear and rewrite

Retire the Go port; history continues from the JavaScript implementation (store-scraper-bot).
This commit is contained in:
tiennm99 committed 2026-08-04 23:00:01 +07:00
1 parent 824279e1fe
commit ca1a409610
45 files changed
-2983

No files matched your search

-31
View File
@@ -1,31 +0,0 @@
# Build stage
FROM golang:1.21-alpine AS builder
WORKDIR /app
# Install build dependencies
RUN apk add --no-cache git
# Copy go mod files
COPY go.mod go.sum ./
RUN go mod download
# Copy source code
COPY . .
# Build the application
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o bot ./cmd/bot
# Final stage
FROM alpine:latest
RUN apk --no-cache add ca-certificates tzdata
WORKDIR /root/
# Copy the binary from builder
COPY --from=builder /app/bot .
# Expose no ports (bot uses long polling)
CMD ["./bot"]