You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And you're in an environment where the build folder doesn't exist, you'll get:
ERROR: build path /foo either does not exist, is not accessible, or is not a valid URL.
Creating an empty directory with that name allows things to continue as expected.
I'd like to have a single docker-compose.yml file that can be used for building on the developer side and deploying on the production side. As such I never want to build in production and only use the prebuilt images, hence the '--no-build' flag. The behavior of reading the build option in this case is unexpected and counter intuitive.
It looks like this is part of the validating the config logic, which is understandable, but it would be nice if no build was plumbed down so that a missing build path was not an error.
The text was updated successfully, but these errors were encountered:
You received 2 messages from me for some comments: sorry ! I didn't read your message as I should and I didn't understand what you meant. Now I understand :) and you're absolutely right !
Currently if you do a
docker-compose up --no-build
for adocker-compose.yml
file that looks like:And you're in an environment where the build folder doesn't exist, you'll get:
Creating an empty directory with that name allows things to continue as expected.
I'd like to have a single
docker-compose.yml
file that can be used for building on the developer side and deploying on the production side. As such I never want to build in production and only use the prebuilt images, hence the '--no-build' flag. The behavior of reading the build option in this case is unexpected and counter intuitive.It looks like this is part of the validating the config logic, which is understandable, but it would be nice if no build was plumbed down so that a missing build path was not an error.
The text was updated successfully, but these errors were encountered: