From acbd80aa4089171416572a19f5ad1a0dd1cea430 Mon Sep 17 00:00:00 2001 From: Queuecumbr <11492746+Queuecumbr@users.noreply.github.com> Date: Sat, 13 Aug 2022 05:05:29 +0000 Subject: [PATCH] Force docker image to use packaged WebUI This will have a side effect where if an existing docker container is updated, any old WebUI will be forcibly removed and replaced with a symlink. --- dockerentry.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dockerentry.sh b/dockerentry.sh index d02c76e0e..03414b618 100644 --- a/dockerentry.sh +++ b/dockerentry.sh @@ -64,5 +64,9 @@ UMASK set: $(umask) ------------------------------------- " +# Make sure we use the packaged WebUI +rm -rf /home/shoko/.shoko/Shoko.CLI/webui +ln -s /usr/src/app/build/webui /home/shoko/.shoko/Shoko.CLI/webui + # Go and run the server exec gosu $USER:$GROUP /usr/src/app/build/Shoko.CLI