skip to Main Content

Why docker-compose –build-arg not work for yaml file?

I have .bat with arguments, which run docker-compose build ... set "Build=Build" set "PublishConfig=Debug" ... docker-compose -f backend.yml --env-file ./.env build --build-arg EMP_PUBLISH_CONFIG=%PublishConfig% --build-arg EMP_BUILD_LOCALLY=%Build% ... .env file with variables EMP_PUBLISH_CONFIG=Release EMP_BUILD_LOCALLY="" .yml file version: "3.7" ... services: customers: container_name:…

VIEW QUESTION
Back To Top
Search