From 92e9c3b25f6baceea257d9ac81ba250cf01a9452 Mon Sep 17 00:00:00 2001 From: thespad Date: Thu, 9 Jan 2025 22:20:57 +0000 Subject: [PATCH] Wipe temp dir at end of build so permissions are correct at runtime --- Dockerfile | 3 ++- Dockerfile.aarch64 | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8a76771..c9af995 100644 --- a/Dockerfile +++ b/Dockerfile @@ -53,7 +53,8 @@ RUN \ rm -rf \ /tmp/* \ $HOME/.cache \ - /app/overseerr/.next/cache/* + /app/overseerr/.next/cache/* \ + /run/overseerr-temp # copy local files COPY root/ / diff --git a/Dockerfile.aarch64 b/Dockerfile.aarch64 index 23e2064..0fce13c 100644 --- a/Dockerfile.aarch64 +++ b/Dockerfile.aarch64 @@ -53,7 +53,8 @@ RUN \ rm -rf \ /tmp/* \ $HOME/.cache \ - /app/overseerr/.next/cache/* + /app/overseerr/.next/cache/* \ + /run/overseerr-temp # copy local files COPY root/ /