#!/usr/bin/env bash
cp docker-files/.env ./
docker-compose up -d
docker exec ruggedy-vma /usr/share/nginx/html/ruggedy-vma/docker-files/post-docker-compose-up.sh

#!/usr/bin/env bash
cp docker-files/.env ./
docker-compose up -d
echo "Waiting for containers to initialise..."
sleep 10
docker exec -t ruggedy-vma /usr/share/nginx/html/ruggedy-vma/docker-files/post-docker-compose-up.sh

Add a 10 second wait for containers to initialise and make the docker exec command open a new tty.
Add a 10 second wait for containers to initialise and make the docker exec command open a new tty.
