Docker: error Couldn't find a package.json file

i try to deploy the docker theia-python, with this command:
docker run -it -p 3000:3000 -v "/home:/home:cached" theiaide/theia-python

but i got this error:
Status: Downloaded newer image for theiaide/theia-python:1.0.0
yarn run v1.22.4
error Couldn’t find a package.json file in “/home/theia”
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

any idea to fix it?

Hi @juanremi,

I think that the way you mount your home folder hides the /home/theia folder, where the theia application resides, in the container.

You might try something like this instead:
docker run -it -p 3000:3000 -v "/home/<your user>:/home/project:cached" theiaide/theia-python

Note: this way of using a containerised Theia app with content on the host machine, is subject to hardship, caused by disk permission of workspace files.