diff --git a/Dockerfile b/Dockerfile index 7016a19..e99033e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -34,5 +34,8 @@ COPY root/ / EXPOSE 8080 8443 VOLUME ["/config","/vaults"] +# Remove sudo +RUN rm /usr/bin/sudo + # Define a healthcheck HEALTHCHECK CMD curl --fail http://localhost:8080/ || exit 1 diff --git a/root/defaults/autostart b/root/defaults/autostart index e839bc9..31cd159 100644 --- a/root/defaults/autostart +++ b/root/defaults/autostart @@ -1 +1 @@ -sudo /usr/bin/obsidian --no-sandbox --no-xshm --disable-dev-shm-usage --disable-gpu --disable-software-rasterizer +/usr/bin/obsidian --no-sandbox --no-xshm --disable-dev-shm-usage --disable-gpu --disable-software-rasterizer diff --git a/root/defaults/menu.xml b/root/defaults/menu.xml index 7038f78..cbea74a 100644 --- a/root/defaults/menu.xml +++ b/root/defaults/menu.xml @@ -3,7 +3,7 @@ - sudo /usr/bin/obsidian --no-sandbox + /usr/bin/obsidian --no-sandbox