Skip to content

Commit 92e9c3b

Browse files
committed
Wipe temp dir at end of build so permissions are correct at runtime
1 parent e4b39f1 commit 92e9c3b

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ RUN \
5353
rm -rf \
5454
/tmp/* \
5555
$HOME/.cache \
56-
/app/overseerr/.next/cache/*
56+
/app/overseerr/.next/cache/* \
57+
/run/overseerr-temp
5758

5859
# copy local files
5960
COPY root/ /

Dockerfile.aarch64

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ RUN \
5353
rm -rf \
5454
/tmp/* \
5555
$HOME/.cache \
56-
/app/overseerr/.next/cache/*
56+
/app/overseerr/.next/cache/* \
57+
/run/overseerr-temp
5758

5859
# copy local files
5960
COPY root/ /

0 commit comments

Comments
 (0)