Update Dockerfile

This commit is contained in:
Astra 2026-02-27 11:53:47 +00:00
parent 001628871c
commit 1bbd193591

View file

@ -29,9 +29,6 @@ RUN apk add --no-cache ca-certificates
# Copy binary from builder
COPY --from=builder /build/telegram-antiscam .
# Set default config path
ENV CONFIG_PATH=/app/config.yaml
# Run the bot
# Run the bot with config path
ENTRYPOINT ["/app/telegram-antiscam"]
CMD ["${CONFIG_PATH}"]
CMD ["/app/config.yaml"]