From 7606b126100006f3d0ccf27120055e1d4766c2d8 Mon Sep 17 00:00:00 2001 From: simonmcnair <101189766+simonmcnair@users.noreply.github.com> Date: Mon, 10 Mar 2025 21:13:23 +0000 Subject: [PATCH] Update Dockerfile --- services/fooocus/Dockerfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/services/fooocus/Dockerfile b/services/fooocus/Dockerfile index 890292b..c3a77fb 100644 --- a/services/fooocus/Dockerfile +++ b/services/fooocus/Dockerfile @@ -45,14 +45,12 @@ RUN if [ "$PUID" -ne "0" ]; then \ echo "root group detected" ; \ fi - - # set this to your target branch commit ARG BRANCH=main SHA=e2f9bcb11d06216d6800676c48d8d74d6fd77a4b ENV ROOT=/stable-diffusion -RUN chown -R "$PUID:$PGID" /stable-diffusion-webui +RUN chown -R "$PUID:$PGID" "${ROOT}" # drop permissions (if build targets non root) USER $PUID:$PGID