Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions installer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,12 @@ RUN chmod 755 /opt/maxkb/app/installer/run-maxkb.sh && \
curl -L --connect-timeout 120 -m 1800 https://resource.fit2cloud.com/maxkb/ffmpeg/get-ffmpeg-linux | sh && \
mkdir -p /opt/maxkb/app/sandbox/python-packages && \
find /opt/maxkb/app -mindepth 1 -not -name 'sandbox' -exec chmod 700 {} + && \
chmod 755 /tmp && chmod 750 /etc &&\
groupadd sandbox &&\
useradd --no-create-home --home /opt/maxkb/app/sandbox sandbox -g sandbox && \
chown -R sandbox:sandbox /opt/maxkb/app/sandbox && \
chmod 755 /tmp && \
useradd --no-create-home --home /opt/maxkb/app/sandbox sandbox -g root && \
chown -R sandbox:root /opt/maxkb/app/sandbox && \
chmod g-x /usr/local/bin/* /usr/bin/* /bin/* /usr/sbin/* /sbin/* /usr/lib/postgresql/15/bin/* && \
chmod g+x /usr/local/bin/python*
chmod g+x /usr/local/bin/python* && \
chmod g-r /etc

EXPOSE 8080

Expand Down