production-evyos-systems-an.../run_finder_payment.sh

16 lines
405 B
Bash
Executable File

#!/bin/bash
# Navigate to the project root directory
cd "$(dirname "$0")"
echo "Building and starting the finder_payment_service container..."
docker compose up --build -d finder_payment_service
echo "Waiting for container to be ready..."
sleep 5
echo "Running the Python script inside the container..."
docker exec finder_payment_service python /draft/readme.py
echo "Done! Check the output above."