1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-02 08:40:08 +01:00
bitwarden-browser/build.sh
2017-08-15 09:16:19 -04:00

17 lines
319 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:selfHosted
echo -e "\nBuilding docker image"
docker --version
docker build -t bitwarden/web $DIR/.