Creating a Docker Container Running ASP.NET Core Web Application Powered by React and Redux
git init
git remote add -f origin https://github.com/jaliyaudagedara/Blog-Post-Samples.git
git config core.sparseCheckout true
echo "ReactReduxApp/*" >> .git/info/sparse-checkout
git pull origin master
- dotnet restore
- dotnet publish -c Release
- docker build -t {sometag} .
- docker run -it --rm -p 30000:80 {sometag}