BitBetter/build.sh
Jeff Alyanak 4d4b173344
Generate bitbetter/identiry container with modified Core.dll
Added the generation of a second modified container, bitbetter/identity, which contains the modified dll. Fixes #12.

This works on my testing environment but has not gone through extensive testing. I'd recommend a review and cleanup of this commit before it is merged into the develop or master branches.
2019-05-13 21:32:37 -04:00

20 lines
303 B
Bash
Executable File

#!/bin/bash
mkdir ./src/bitBetter/.keys
cp .keys/cert.cert ./src/bitBetter/.keys
cd ./src/bitBetter
dotnet restore
dotnet publish
cp -r bin/ api/
cp -r bin/ identity/
cd ./api
docker build --pull . -t bitbetter/api # --squash
cd ../identity
docker build --pull . -t bitbetter/identity # --squash