From ef7a95634ab9f3827972eab6dab78459dfccbb58 Mon Sep 17 00:00:00 2001 From: Arthur Joppart Date: Fri, 17 May 2024 01:48:44 +0200 Subject: [PATCH] boi: this one might actually work --- dl-downer/Dockerfile | 1 - dl-downer/entry.sh | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/dl-downer/Dockerfile b/dl-downer/Dockerfile index c77cef2..7544806 100644 --- a/dl-downer/Dockerfile +++ b/dl-downer/Dockerfile @@ -46,6 +46,5 @@ RUN pip install --no-cache-dir -r requirements.txt RUN playwright install --with-deps RUN apt-get install -y sudo gosu -RUN rm -rf /var/lib/apt/lists/ ENTRYPOINT [ "entry.sh" ] diff --git a/dl-downer/entry.sh b/dl-downer/entry.sh index f014f2f..1e3a8c4 100644 --- a/dl-downer/entry.sh +++ b/dl-downer/entry.sh @@ -28,8 +28,8 @@ fi # Change ownership of the home directory chown -R "$PUID:$PGID" /home/myuser -chown -R myuser:mygroup /downloads -chown -R myuser:mygroup /storage_states +chown -R "$PUID:$PGID" /downloads +chown -R "$PUID:$PGID" /storage_states # Run the command as the specified user exec gosu "$PUID:$PGID" python start.py "$@"