subdir-heroku-buildpack
subdir-heroku-buildpack copied to clipboard
Everything but project root deleted
Set PROJECT_PATH environment variable to point to project root. It will be promoted to slug's root, everything else will be erased.
This doesn't work for my project—I have a server in backend
, and static files in frontend
that I'd like the server to be able to run. But using this buildpack causes everything in frontend
to be deleted. Is this just an unsolvable Heroku limitation?
@yowzadave did you end up just moving your assets to backend?
Hi @joeyfigaro -- I realized I didn't need this buildpack. The solution for me was to just use the --prefix
flag when running my start script:
npm start --prefix path/to/your/app
Hope this helps!