Question
Try to run python manage.py in a Dokku/Docker Container
Hello,
I have a problem with Dokku and Django.
I created a DigitalOcean Dokku Droplet and pushed my Django App. The Application works fine, but there is a problem if I try to run a Django Command.
dokku run APP 'python manage.py migrate'
(or collectstatic, createsuperuser - it doesn’t matter)
Every time I get this error:
/exec: row 10: python manage.py migrate: command not found
I have no idea why
Installed Plugins:
00_dokku-standard
apps
backup
build-env
checks
common
config
docker-options
dokku-apt
dokku-supervisord
domains
git
nginx-vhosts
persistent-storage
ps
shell
Any ideas?
Thanks and Greetings
Jonas
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×