“Docker compose –build” taking way longer than “docker build” and then failing to build
Working with Docker Desktop v4.30 for Windows in Windows 10. Docker is using WSL integration. I’m trying to get docker compose to build the image of a project instead of having to manually build them every time. The image builds correctly from PowerShell with docker build -t image_name ./source_folder
in less than 20 seconds, the output is:
Dockerfile vs docker compose, why files content is not being copied in compose
I have a Dockerfile which works if i make a container out of it, but doesnt work completely when i run it via compose yaml file.