File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && \
3131 chmod g+xr /usr/bin/ld.so && \
3232 chmod g+x /usr/local/bin/python* && \
3333 apt-get clean all && \
34+ echo "/usr/lib/$(uname -m)-linux-gnu/libjemalloc.so.2" > /etc/ld.so.preload
3435 rm -rf /var/lib/apt/lists/* /usr/share/doc/* /usr/share/man/* /usr/share/info/* /usr/share/locale/* /usr/share/lintian/* /usr/share/linda/* /var/cache/* /var/log/* /var/tmp/* /tmp/*
3536COPY --from=vector-model --chmod=700 /opt/maxkb-app/model /opt/maxkb-app/model
3637
@@ -42,7 +43,6 @@ ENV PATH=/opt/py3/bin:$PATH \
4243 REDIS_PASSWORD=Password123@redis \
4344 LANG=en_US.UTF-8 \
4445 PYTHONUNBUFFERED=1 \
45- LD_PRELOAD=/usr/lib/$(uname -m)-linux-gnu/libjemalloc.so.2 \
4646 MAXKB_CONFIG_TYPE=ENV \
4747 MAXKB_LOG_LEVEL=INFO \
4848 MAXKB_SANDBOX=1 \
You can’t perform that action at this time.
0 commit comments