bitwarden-estensione-browser/build.sh

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/.