Open NiklasRz opened 2 years ago
Just to say, I am getting the same issue. Did you find a solution?
I am finding the issue in a Django project (which is the same as you I guess).
I solved the issue by copying manage.py
into the root folder of my project.
@pkimber , I also resolved my issue by doing same.
Beyond this being a question with insufficient detail supplied; this should be closed as its in no way related to this project; this kind of question belongs on a place like stack overflow or even better one of the linux related stack exchanges.
That being said;
OR you can check out one of the many examples of using python/docker in my repository history. I have a python dev image i've been using to code on for several years now if you need some concrete guidance.
I have a pytest.ini and a test_something.py file in the same dir as my manage.py. If I run 'pytest' directly, it works. If I run the whole thing with docker-compose, get an interactive console on the docker container and run 'pytest' there, I get:
Any idea what might be the problem here?