Replace tail command with a while loop to keep the container alive
This commit is contained in:
parent
0331e6414e
commit
dec71886f7
@ -53,5 +53,7 @@ echo " python3 /app/src/inquisitor.py $TARGET_IP $TARGET_MAC $GATEWAY_IP $GATEW
|
|||||||
echo " Or use Python interactively with: python3 -i /app/src/inquisitor.py"
|
echo " Or use Python interactively with: python3 -i /app/src/inquisitor.py"
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
# Start an interactive bash shell
|
echo "Keeping container alive..."
|
||||||
tail -f /dev/null & # Keep the script running
|
while true; do
|
||||||
|
sleep 30
|
||||||
|
done
|
||||||
Loading…
Reference in New Issue
Block a user