mirror of
https://github.com/bitwarden/browser
synced 2024-12-18 20:33:00 +01:00
20 lines
343 B
Bash
20 lines
343 B
Bash
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
|
|
echo ""
|
|
echo "# Building Web"
|
|
|
|
echo ""
|
|
echo "Building app"
|
|
echo "npm version $(npm --version)"
|
|
echo "gulp version $(gulp --version)"
|
|
npm install
|
|
gulp dist:selfHosted
|
|
|
|
echo ""
|
|
echo "Building docker image"
|
|
docker --version
|
|
docker build -t bitwarden/web $DIR/.
|