From 37f7768e7a69d65f6c7cc3145477a01789622aa0 Mon Sep 17 00:00:00 2001 From: Dampfklon Date: Wed, 5 May 2021 07:29:24 +0200 Subject: [PATCH] Fix Dockerfile.alpine build error and snipeit runtime permission error (#9520) --- Dockerfile.alpine | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile.alpine b/Dockerfile.alpine index 24a7c3d1f..64cac8df2 100644 --- a/Dockerfile.alpine +++ b/Dockerfile.alpine @@ -57,7 +57,7 @@ RUN \ && mkdir -p "/var/lib/snipeit/dumps" && rm -r "/var/www/html/storage/app/backups" && ln -fs "/var/lib/snipeit/dumps" "/var/www/html/storage/app/backups" \ && mkdir -p "/var/lib/snipeit/keys" && ln -fs "/var/lib/snipeit/keys/oauth-private.key" "/var/www/html/storage/oauth-private.key" \ && ln -fs "/var/lib/snipeit/keys/oauth-public.key" "/var/www/html/storage/oauth-public.key" \ - && chown -h "/var/www/html/storage/*.key" + && chown -hR apache "/var/www/html/storage/" \ && chown -R apache "/var/lib/snipeit" # Install composer