Skip to content

Commit f1f8229

Browse files
committed
feat: update Dockerfile to improve Python virtual environment setup and install diskcache2
1 parent 869812d commit f1f8229

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

installer/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,9 @@ RUN chmod 755 /opt/maxkb-app/installer/*.sh && \
7676
chown -R sandbox:root /opt/maxkb-app/sandbox && \
7777
chmod g-x /usr/local/bin/* /usr/bin/* /bin/* /usr/sbin/* /sbin/* /usr/lib/postgresql/17/bin/* && \
7878
chmod g+x /usr/local/bin/python* && \
79-
python3 -m venv /opt/maxkb-app/sandbox/py3 && . /opt/maxkb-app/sandbox/py3/bin/activate && pip install diskcache2
79+
python3 -m venv /opt/maxkb-app/sandbox/py3 && \
80+
. /opt/maxkb-app/sandbox/py3/bin/activate && \
81+
/opt/maxkb-app/sandbox/py3/bin/pip install diskcache2
8082

8183
EXPOSE 8080
8284
VOLUME /opt/maxkb

0 commit comments

Comments
 (0)