Procfile multi-line (release/web) options
J
J. Michael McGarrah
It would be nice to have a build/release and run/web for the Procfile. Currently only a single "web: " line option works. In the UI there is a "Build Command" and "Run Command" that does not map to the Procfile functionality. It would be nice to have this available.
My example is:
Procfile:
release: python manage.py collectstatic --noinput && python manage.py migrate && python manage.py createsuperuser --noinput
web: gunicorn config.wsgi:application --worker-tmp-dir /dev/shm
This file does not work fully and only runs the "web: " line. Combining would be problematic as I only want the release to run once during the build step. That would hurt me when I have multiple web instances.