diff --git a/Dockerfile b/Dockerfile index 8bd85a0..b4ccfce 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,7 +27,7 @@ COPY --from=build-stage /app/cs-custom-bouncer/crowdsec-custom-bouncer \ COPY --from=build-stage /app/cs-custom-bouncer/config/crowdsec-custom-bouncer.yaml \ /crowdsec-custom-bouncer.yaml ADD --chmod=770 bouncer.sh /bouncer.sh -RUN echo "bin_path: /bouncer.sh" >> /crowdsec-custom-bouncer.yaml +ENV BINARY_PATH=/crowdsec-custom-bouncer.yaml #prometheus port LABEL me.ar2000.gitea.buildargs.iptablesmode="${IPTABLES_MODE}" CMD ["/usr/bin/crowdsec-custom-bouncer", "-c", "/crowdsec-custom-bouncer.yaml"]