From 98298af674952c4ec39182e6cdf014abea0700f1 Mon Sep 17 00:00:00 2001 From: Satsuki Akiba Date: Thu, 12 Jun 2025 06:10:19 +0900 Subject: [PATCH] Fix --- build-docker-image.sh | 16 ++++++++-------- run-docker.sh | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/build-docker-image.sh b/build-docker-image.sh index 1fb7f81..fa2ba03 100755 --- a/build-docker-image.sh +++ b/build-docker-image.sh @@ -13,17 +13,17 @@ echo "Build context: $(pwd)" # Check if Dockerfile exists if [[ ! -f "Dockerfile" ]]; then - echo "Error: Dockerfile not found in current directory" - exit 1 + echo "Error: Dockerfile not found in current directory" + exit 1 fi # Build with build cache and progress output -docker build \ - --tag "${FULL_TAG}" \ - --progress=plain \ - --build-arg BUILDKIT_INLINE_CACHE=1 \ - "${@:2}" \ - . +exec docker build \ + --tag "${FULL_TAG}" \ + --progress=plain \ + --build-arg BUILDKIT_INLINE_CACHE=1 \ + "${@:2}" \ + . # Display image info echo "\nBuild completed successfully!" diff --git a/run-docker.sh b/run-docker.sh index b49558a..69b2efe 100755 --- a/run-docker.sh +++ b/run-docker.sh @@ -40,7 +40,7 @@ if [[ ! -f "$(pwd)/feed_urls.txt" ]]; then fi # Run container with proper volume mounts and networking -docker run \ +exec docker run \ --detach \ --name "${CONTAINER_NAME}" \ --restart unless-stopped \