File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,8 @@ COPY --from=stage-build /opt/maxkb-app /opt/maxkb-app
6565COPY --from=stage-build /opt/py3 /opt/py3
6666COPY --from=vector-model /opt/maxkb-app/model /opt/maxkb-app/model
6767
68- RUN find /opt/maxkb-app -mindepth 1 -not -name 'sandbox' -exec chmod 700 {} + && \
68+ RUN chmod 755 /tmp && \
69+ find /opt/maxkb-app -mindepth 1 -not -name 'sandbox' -exec chmod 700 {} + && \
6970 useradd --no-create-home --home /opt/maxkb-app/sandbox sandbox -g root && \
7071 chown -R sandbox:root /opt/maxkb-app/sandbox && \
7172 chmod g-x /usr/local/bin/* /usr/bin/* /bin/* /usr/sbin/* /sbin/* /usr/lib/postgresql/17/bin/* && \
Original file line number Diff line number Diff line change @@ -23,7 +23,6 @@ RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && \
2323 apt-get clean all && \
2424 rm -rf /var/lib/apt/lists/* && \
2525 chmod 755 /usr/bin/start-*.sh && \
26- chmod 755 /tmp && \
2726 find /etc/ -type f ! -path '/etc/resolv.conf' ! -path '/etc/hosts' | xargs chmod g-rx && \
2827 curl -L --connect-timeout 120 -m 1800 https://resource.fit2cloud.com/maxkb/ffmpeg/get-ffmpeg-linux | sh
2928
You can’t perform that action at this time.
0 commit comments