mirror of
https://github.com/bitwarden/server.git
synced 2025-06-30 07:36:14 -05:00
clean before building for images
This commit is contained in:
@ -7,6 +7,7 @@ echo -e "\n# Building Server"
|
||||
|
||||
echo -e "\nBuilding app"
|
||||
echo -e ".NET Core version $(dotnet --version)"
|
||||
dotnet clean $DIR/Server.csproj -c "Release" -o $DIR/obj/Docker/publish
|
||||
dotnet publish $DIR/Server.csproj -c "Release" -o $DIR/obj/Docker/publish
|
||||
|
||||
echo -e "\nBuilding docker image"
|
||||
|
@ -7,6 +7,7 @@ echo -e "\n# Building Setup"
|
||||
|
||||
echo -e "\nBuilding app"
|
||||
echo -e ".NET Core version $(dotnet --version)"
|
||||
dotnet clean $DIR/Setup.csproj -f netcoreapp2.0 -c "Release" -o $DIR/obj/Docker/publish
|
||||
dotnet publish $DIR/Setup.csproj -f netcoreapp2.0 -c "Release" -o $DIR/obj/Docker/publish
|
||||
|
||||
echo -e "\nBuilding docker image"
|
||||
|
Reference in New Issue
Block a user