1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-30 23:23:52 +00:00

docker image

This commit is contained in:
Kyle Spearrin
2017-08-07 17:07:56 -04:00
parent 53f3124345
commit 9a4669067d
4 changed files with 43 additions and 0 deletions

16
build.sh Normal file
View File

@@ -0,0 +1,16 @@
#!/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/.