From b236eee9e0aa79cd820ff56aa4f3d5f0672bfcee Mon Sep 17 00:00:00 2001 From: Kristaps Berzinch Date: Sun, 14 Apr 2024 16:23:45 -0400 Subject: [PATCH] Fix file permissions --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index e8e29e6..d38f017 100644 --- a/Dockerfile +++ b/Dockerfile @@ -55,7 +55,9 @@ RUN --mount=type=secret,id=composer_auth,dst=/app/auth.json,uid=33,gid=33,requir composer install --no-interaction --no-progress --no-dev --optimize-autoloader --classmap-authoritative --no-cache && \ mkdir --parents /app/resources/views/ && \ php artisan horizon:publish && \ - sed -i '/"\$1\\n\$2"/c\\' /app/vendor/mrclay/minify/lib/Minify/HTML.php; + sed -i '/"\$1\\n\$2"/c\\' /app/vendor/mrclay/minify/lib/Minify/HTML.php \ + chmod 664 /app/bootstrap/app.php /app/public/index.php && \ + chmod 775 /app/bootstrap/cache/ # This target is the default, but skipped during pull request builds and in our recommended local build invocation # precompressed_assets var on the Nomad job must match whether this stage ran or not