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