Difference between revisions of "Heroku: procfile"

From wikieduonline
Jump to navigation Jump to search
Line 8: Line 8:
 
  web: [[lein]] run -m demo.web $PORT
 
  web: [[lein]] run -m demo.web $PORT
  
 +
In case you have multiple [[buildpacks]] for the application you can ensure static rendering in <code>procfile</code>
 
  web: bin/boot <ref>https://elements.heroku.com/buildpacks/heroku/heroku-buildpack-static</ref>
 
  web: bin/boot <ref>https://elements.heroku.com/buildpacks/heroku/heroku-buildpack-static</ref>
  

Revision as of 10:59, 22 February 2022

https://devcenter.heroku.com/articles/procfile

Rails

web: bundle exec rails server -p $PORT

Clojure

web: lein run -m demo.web $PORT

In case you have multiple buildpacks for the application you can ensure static rendering in procfile

web: bin/boot [1]


See also

  • https://elements.heroku.com/buildpacks/heroku/heroku-buildpack-static
  • Advertising: