1
0

moving code from command server into cli

This commit is contained in:
2024-05-28 16:03:32 +02:00
parent 8a6021aa83
commit d53ca8a33a
8 changed files with 323 additions and 146 deletions

View File

@ -8,4 +8,4 @@ FROM ubuntu:latest
RUN apt update && apt upgrade -y && apt install iptables iptables-persistent -y
COPY --from=builder /target/release/martillo-maldito ./
CMD ["/martillo-maldito"]
CMD [ "/martillo-maldito", "ban-server", "-f", "/host_ssh/auth.log", "-s", "/host_iptables/rules.v4" ]