From f853b5da2f2eab24e8f30878ccd85fbfec0b1c4e Mon Sep 17 00:00:00 2001 From: spwoodcock Date: Thu, 1 Aug 2024 18:17:23 +0100 Subject: [PATCH] build: fix permissions for backend/templates dir in entrypoint script --- src/backend/docker-entrypoint.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/src/backend/docker-entrypoint.sh b/src/backend/docker-entrypoint.sh index 707a5501..6829a688 100755 --- a/src/backend/docker-entrypoint.sh +++ b/src/backend/docker-entrypoint.sh @@ -39,6 +39,7 @@ wait_for_minio() { get_frontend_index_html() { echo "Downloading index.html from object storage.." curl --fail --create-dirs ${S3_ENDPOINT}/${FRONTEND_BUCKET_NAME}/index.html --output /project/src/backend/templates/index.html || echo "Failed to download index.html... Please retry manually for now...." + chmod -R 777 /project/src/backend/templates } # Start wait in background with tmp log files