if you are using Docker for deploying your application with default command like:
uwsgi --socket=0.0.0.0:9000 --module=myapp.wsgi:application --py-autoreload=1
make sure to change your working directory in the end of Dockerfile like:
WORKDIR /absolute/path/to/source/code