prometheus-fail2ban-exporter/Dockerfile
Hector 772cdb52c5 chore: rewrite dockerfile
Rewrite the Dockerfile to be ready for fully automating releases using GoReleaser.
2023-06-19 19:06:18 +00:00

11 lines
255 B
Docker

FROM debian:buster-slim
# Create main app folder to run from
WORKDIR /app
# Copy compiled binary to release image
# (must build the binary before running docker build)
COPY fail2ban_exporter /app/fail2ban_exporter
ENTRYPOINT ["/app/fail2ban_exporter"]