1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-27 12:36:14 +01:00
bitwarden-browser/build.sh

17 lines
308 B
Bash
Raw Normal View History

2017-08-07 23:07:56 +02:00
#!/usr/bin/env bash
set -e
DIR="$(dirname $(readlink -f $0))"
echo -e "\n# Building Web"
echo -e "\nBuilding app"
echo -e "npm version $(npm --version)"
echo -e "gulp version $(gulp --version)"
npm install
gulp dist
echo -e "\nBuilding docker image"
docker --version
docker build -t bitwarden/web $DIR/.