How to pass build argument for "up" command
docker-compose up -d --build server_name --build-arg FOO=1
--build-arg is invalid.
Have to use two commands: build image first, then "up".
How to pass build argument for "up" command
docker-compose up -d --build server_name --build-arg FOO=1
--build-arg is invalid.
Have to use two commands: build image first, then "up".