2021-03-27 18:29:28 +01:00
|
|
|
FROM debian:buster-slim
|
|
|
|
|
2021-02-08 20:48:55 +01:00
|
|
|
# Create main app folder to run from
|
2021-02-07 14:04:24 +01:00
|
|
|
WORKDIR /app
|
|
|
|
|
2021-03-27 18:29:28 +01:00
|
|
|
# Copy compiled binary to release image
|
2023-06-19 21:06:18 +02:00
|
|
|
# (must build the binary before running docker build)
|
|
|
|
COPY fail2ban_exporter /app/fail2ban_exporter
|
2021-02-07 14:04:24 +01:00
|
|
|
|
2022-02-20 09:46:40 +01:00
|
|
|
ENTRYPOINT ["/app/fail2ban_exporter"]
|