Open mlliarm opened 1 month ago
Hello,
According to the documentation here: https://docs.docker.com/compose/compose-file/build/#context, the context should already default to ".":
If not set explicitly, context defaults to project directory (.).
However, Compose V1 ("docker-compose") has reached its end-of-life and is no longer supported by Docker. It might be a good idea to update the README to use Compose V2 ("docker compose" without the dash, although Docker Desktop specifically should provide an alias by default). See more here: https://docs.docker.com/compose/migrate/
Thank you!
Hello,
I'm trying to run the example and I'm getting the following:
After a bit of googling I found out that the context is missing from the build in the
docker-compose.yml
file.This file currently is:
When changed to the following
docker-compose.yml
according to this suggestionit works:
If you agree I can send a PR with this change.
System
OS information:
Golang:
Docker:
Docker compose:
Cheers.