mirror of
https://github.com/jakeswenson/BitBetter.git
synced 2025-07-12 22:43:27 +00:00
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.
20 lines
303 B
Bash
Executable File
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
|