1
0
mirror of https://github.com/bitwarden/web synced 2025-12-06 00:03:28 +00:00
Files
web/build.sh
Kyle Spearrin 9a4669067d docker image
2017-08-07 17:07:56 -04:00

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