Closed noliar closed 7 years ago
May I also suggest to add support for .post_compile
script? The guy here implemented it and it works great for us:
if [ -f $SRC_DIR/.post_compile ]; then
(cd $SRC_DIR && source .post_compile)
else
echo "File $SRC_DIR/.post_compile not found"
fi
Merge it, merge this for the glory 👍
Probably won't happen. Two main contributors of this repo no longer work at Heroku. I contacted support of Heroku, they told that this repo is experimental and they way to go with .NET Core is to use Dockerfile.
Thank you for the answer @jenyayel though I'm little 😕 about using Dockerfile
Well, it's a new candy that every one tries to push. I wrote a short guideline that may be helpful. Good luck!
I updated my fork and sent a PR: https://github.com/heroku/dotnet-buildpack/pull/10
You can try my version here: https://github.com/friism/dotnet-buildpack
I just did this as an experiment to to see where the .NET Core toolchain was at.
As @jenyayel mentioned, the Docker approach works really well too. I built a full .NET Core Postgres example here: https://github.com/friism/heroku-docker-dotnet-core-postgres
A simple demo: https://github.com/noliar/ASP.NET-Core-Sample. The Preview URL: https://netcore.herokuapp.com/