gue*_*tli 2 python django dokku
我正在尝试在Dokku中运行我的应用程序
我收到此错误:
5b188e740fcae5a5080e2ac498e6b93a593ae107e656c53e5df1d8c8e13948c8
remote: ! App container failed to start!!
=====> lala web container output:
setuidgid: fatal: unable to run gunicorn: file does not exist
setuidgid: fatal: unable to run gunicorn: file does not exist
setuidgid: fatal: unable to run gunicorn: file does not exist
setuidgid: fatal: unable to run gunicorn: file does not exist
setuidgid: fatal: unable to run gunicorn: file does not exist
setuidgid: fatal: unable to run gunicorn: file does not exist
setuidgid: fatal: unable to run gunicorn: file does not exist
=====> end lala web container output
remote: 2020/12/17 23:22:13 exit status 1
remote: 2020/12/17 23:22:13 exit status 1
remote: 2020/12/17 23:22:13 exit status 1
To coffee-and-sugar.club:lala
! [remote rejected] main -> master (pre-receive hook declined)
Run Code Online (Sandbox Code Playgroud)
我想你一定有Procfile这样的经历:
web: gunicorn mysite.wsgi:application
Run Code Online (Sandbox Code Playgroud)
我需要先安装 python 包。
添加gunicorn到您的requirements.txt文件。