2017-08-07 23:07:56 +02:00
|
|
|
$dir = Split-Path -Parent $MyInvocation.MyCommand.Path
|
|
|
|
|
|
|
|
echo "`n# Building Web"
|
|
|
|
|
|
|
|
echo "`nBuilding app"
|
|
|
|
echo "npm version $(npm --version)"
|
|
|
|
npm install
|
2018-07-18 21:21:51 +02:00
|
|
|
npm run sub:update
|
|
|
|
npm run dist:selfhost
|
2017-08-07 23:07:56 +02:00
|
|
|
|
|
|
|
echo "`nBuilding docker image"
|
|
|
|
docker --version
|
|
|
|
docker build -t bitwarden/web $dir\.
|