Docker image WORKDIR


I’m using a predefined circleci image (circleci/php:7.0-cli-node) but I can’t manage to get the working dir.
I can’t find any Dockerfile on github, so I’m trying with some wild guesses.
I tried to configure working_directory: ~ and I got “no working_directory” error, I tried working_directory: / and I got "Directory (/) you are trying to checkout to is not empty and not git repository"
What is the correct value for working_directory? Is there a way to get the Dockerfile somewhere?


This confused me in 2.0 as well, see This was “fixed” in (if you can make sense of this please let me know!)


So, what is the root directory of my project? :confused:


This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.