From d151f724ceb689a8dd1ca0fa0f16a11f40b24f08 Mon Sep 17 00:00:00 2001 From: cedricdcc <30471340+cedricdcc@users.noreply.github.com> Date: Thu, 20 Apr 2023 14:31:26 +0200 Subject: [PATCH] Update entrypoint.sh added copy of the image data to the entrypoint --- entrypoint.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/entrypoint.sh b/entrypoint.sh index 5c1cbe7..21cd513 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -50,6 +50,9 @@ else exit 1 fi +echo "copying over the ./img folder to ./public/img" +cp -r ./img ./public/img + #check if there is a img folder in ./github/workspace, if so copy it over to ./src/img recursively with force overwrite echo "checking if there is a img folder in ./github/workspace" if [ -d ./github/workspace/img ]; @@ -118,6 +121,8 @@ npm install echo "npm run build" npm run build echo "copying over scr files to build folder" + + #in the index.html add the following line to the head tag echo "adding the following line to the head tag of the index.html file" sed -i "s|||g" ./build/index.html