feat: add Telegram bot with notifications and scheduler
This commit is contained in:
@@ -8,11 +8,13 @@ RUN apk add --no-cache git
|
||||
|
||||
# Copy go mod files
|
||||
COPY go.mod go.sum ./
|
||||
RUN go mod download
|
||||
|
||||
# Copy source code
|
||||
# Copy source code first to allow go mod tidy
|
||||
COPY . .
|
||||
|
||||
# Update dependencies
|
||||
RUN go mod tidy && go mod download
|
||||
|
||||
# Build
|
||||
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o main ./cmd/api
|
||||
|
||||
|
||||
Reference in New Issue
Block a user