File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -65,8 +65,7 @@ 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 curl -L --connect-timeout 120 -m 1800 https://resource.fit2cloud.com/maxkb/ffmpeg/get-ffmpeg-linux | sh && \
69- find /opt/maxkb-app -mindepth 1 -not -name 'sandbox' -exec chmod 700 {} + && \
68+ RUN find /opt/maxkb-app -mindepth 1 -not -name 'sandbox' -exec chmod 700 {} + && \
7069 useradd --no-create-home --home /opt/maxkb-app/sandbox sandbox -g root && \
7170 chown -R sandbox:root /opt/maxkb-app/sandbox && \
7271 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 @@ -24,7 +24,8 @@ RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && \
2424 rm -rf /var/lib/apt/lists/* && \
2525 chmod 755 /usr/bin/start-*.sh && \
2626 chmod 755 /tmp && \
27- find /etc/ -type f ! -path '/etc/resolv.conf' ! -path '/etc/hosts' | xargs chmod g-rx
27+ find /etc/ -type f ! -path '/etc/resolv.conf' ! -path '/etc/hosts' | xargs chmod g-rx && \
28+ curl -L --connect-timeout 120 -m 1800 https://resource.fit2cloud.com/maxkb/ffmpeg/get-ffmpeg-linux | sh
2829
2930ENV PGDATA=/opt/maxkb/data/postgresql/pgdata \
3031 POSTGRES_USER=root \
You can’t perform that action at this time.
0 commit comments