mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-27 12:36:14 +01:00
17 lines
308 B
Bash
17 lines
308 B
Bash
|
#!/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/.
|