Rename to antispam
This commit is contained in:
parent
1e91b97de3
commit
d372e99398
5 changed files with 7 additions and 7 deletions
|
|
@ -16,7 +16,7 @@ RUN go mod download
|
|||
COPY . .
|
||||
|
||||
# Build the binary
|
||||
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o telegram-antiscam .
|
||||
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o telegram-antispam .
|
||||
|
||||
# Runtime stage
|
||||
FROM alpine:latest
|
||||
|
|
@ -27,8 +27,8 @@ WORKDIR /app
|
|||
RUN apk add --no-cache ca-certificates
|
||||
|
||||
# Copy binary from builder
|
||||
COPY --from=builder /build/telegram-antiscam .
|
||||
COPY --from=builder /build/telegram-antispam .
|
||||
|
||||
# Run the bot with config path
|
||||
ENTRYPOINT ["/app/telegram-antiscam"]
|
||||
ENTRYPOINT ["/app/telegram-antispam"]
|
||||
CMD ["/app/config.yaml"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue