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)"
|
|
|
|
echo "gulp version $(gulp --version)"
|
|
|
|
npm install
|
2017-08-15 15:16:19 +02:00
|
|
|
gulp dist:selfHosted
|
2017-08-07 23:07:56 +02:00
|
|
|
|
|
|
|
echo "`nBuilding docker image"
|
|
|
|
docker --version
|
|
|
|
docker build -t bitwarden/web $dir\.
|