Fixed create f2b

This commit is contained in:
zeldaroot 2020-03-22 05:40:03 +02:00
parent f2e1f392f2
commit 310e6bc99c

View file

@ -1,7 +1,9 @@
FROM crazymax/fail2ban:0.10.4
RUN mkdir -p \
/etc/f2b
COPY . /etc/f2b
RUN rm -rf /etc/f2b/Dockerfile \
cp -r /etc/f2b/* /etc/fail2ban/ \
cp -rf /etc/f2b/* /etc/fail2ban/ \
rm -rf /etc/f2b \
touch /etc/fail2ban/ip.blacklist \
touch /etc/fail2ban/nginx.repeatoffender \