fix bin_path

This commit is contained in:
2024-12-05 14:53:00 +01:00
parent a5d6d9cbe9
commit ca70371683

View File

@@ -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"]