Docker Compose set env variable from command
I'm setting up a VSCode dev-container using docker compose. I also have some file myVersion.txt which contains a string. I need this string inside the DockerFile while building the container, but the string has to stay inside myVersion.txt and I'd…