From 85073dec2b6e387f7c32b366309571b1e15d84d8 Mon Sep 17 00:00:00 2001 From: Jeremy Yen Date: Fri, 27 Sep 2024 08:14:58 +0800 Subject: [PATCH] DEBUG: add debug tag to make pprof work --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index ae1e335..da443c7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,7 +13,7 @@ RUN set -x \ RUN mkdir -p /opt/banjax COPY ./ /opt/banjax/ -RUN cd /opt/banjax && go test && go build +RUN cd /opt/banjax && go test && go build -o banjax -tags debug RUN mkdir -p /etc/banjax COPY ./banjax-config.yaml /etc/banjax/