Is there a way before building of docker containers with docker compose to execute a bash script?
something like
version: "3"
before_script: //execute my local script
services:
database: ....
No there is not.
you can make a custom bash build script that executes your local script before starting the containers
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With