mirror of
https://github.com/bitwarden/server.git
synced 2025-07-04 17:42:49 -05:00
setup, build, and run scripts
This commit is contained in:
14
src/Identity/build.sh
Normal file
14
src/Identity/build.sh
Normal file
@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
|
||||
DIR="$(dirname $(readlink -f $0))"
|
||||
|
||||
echo -e "\n# Building Identity"
|
||||
|
||||
echo -e "\nBuilding app"
|
||||
echo -e ".NET Core version $(dotnet --version)"
|
||||
dotnet publish $DIR/Identity.csproj -f netcoreapp2.0 -c "Release" -o $DIR/obj/Docker/publish
|
||||
|
||||
echo -e "\nBuilding docker image"
|
||||
docker --version
|
||||
docker build -t bitwarden/identity $DIR/.
|
Reference in New Issue
Block a user