From f1f8229d333affea46fe3ba5d5eb45bbfa7aab5c Mon Sep 17 00:00:00 2001 From: CaptainB Date: Tue, 24 Jun 2025 10:40:22 +0800 Subject: [PATCH] feat: update Dockerfile to improve Python virtual environment setup and install diskcache2 --- installer/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/installer/Dockerfile b/installer/Dockerfile index 9f9a02377..f0ae539c2 100644 --- a/installer/Dockerfile +++ b/installer/Dockerfile @@ -76,7 +76,9 @@ RUN chmod 755 /opt/maxkb-app/installer/*.sh && \ chown -R sandbox:root /opt/maxkb-app/sandbox && \ chmod g-x /usr/local/bin/* /usr/bin/* /bin/* /usr/sbin/* /sbin/* /usr/lib/postgresql/17/bin/* && \ chmod g+x /usr/local/bin/python* && \ - python3 -m venv /opt/maxkb-app/sandbox/py3 && . /opt/maxkb-app/sandbox/py3/bin/activate && pip install diskcache2 + python3 -m venv /opt/maxkb-app/sandbox/py3 && \ + . /opt/maxkb-app/sandbox/py3/bin/activate && \ + /opt/maxkb-app/sandbox/py3/bin/pip install diskcache2 EXPOSE 8080 VOLUME /opt/maxkb