I closed the other topic with almost the same question: The Error: Requires exactly one target process type, or --recursive option
My guess is that this happens because you have spaces after NODE_ENV
in the yaml in the docker_build_args
section so "NODE_ENV "
becomes the name of the the build arg and it breakes the generated command so everything after --arg NODE_ENV
becomes an other argument and interpreted as a second process type after “web”.