772cdb52c5
Rewrite the Dockerfile to be ready for fully automating releases using GoReleaser.
10 lines
255 B
Docker
10 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"]
|