moving code from command server into cli

This commit is contained in:
midefos committed 2024-05-28 16:03:32 +02:00
1 parent 8a6021aa83
commit d53ca8a33a
8 files changed
+323 -146

No files matched your search

+1 -1
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" ]