Skip to content

Commit 3b1a686

Browse files
author
Qasim Sarfraz
committed
make sure cache directory has correct ownership
1 parent e304db0 commit 3b1a686

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

files/startup.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,4 +83,7 @@ TOKEN=$(aws ecr get-login --no-include-email | awk '{print $6}')
8383
AUTH_N=$(echo AWS:${TOKEN} | base64 |tr -d "[:space:]")
8484
sed -i "s|${AUTH%??}|${AUTH_N}|g" $CONFIG
8585

86+
# make sure cache directory has correct ownership
87+
chown -R nginx:nginx /cache
88+
8689
exec "$@"

0 commit comments

Comments
 (0)