Be more descriptive in the "Limits" section of the Python Buildpack docs when giving example run commands.
J
Josh Aguilar
Current documentation: Due to an issue with Gunicorn running in Docker, App Platform fails to run when the temporary directory is not specified in the run command. To resolve, run Gunicorn to use a different location for its temp files. Modify the run command by passing this option: gunicorn --worker-tmp-dir /dev/shm project.wsgi, where project is the name of your project.
Suggested edit: Due to an issue with Gunicorn running in Docker, App Platform fails to run when the temporary directory is not specified in the run command. To resolve, run Gunicorn to use a different location for its temp files. Modify the run command by passing this option: gunicorn --worker-tmp-dir /dev/shm project.wsgi, where project is the name of your project (Django). Or in the case of Flask, the run_command: gunicorn --worker-tmp-dir /dev/shm wsgi:app, where wsgi is wsgi.py and app is the Flask application instance inside wsgi.py.