#!/usr/bin/env bash
SCRIPT_RELATIVE_PATH=`dirname "$0"`
PROJECT_PATH=`( cd "$SCRIPT_RELATIVE_PATH/.." && pwd )`
PRJ_NAME=foundation
TAG_PREFIX=${PREFIX:-equilibrium}/$PRJ_NAME
LATEST_TAG=$TAG_PREFIX:${LATEST:-latest}
VERSION_TAG=$TAG_PREFIX:$DEPLOY_ENV-$npm_package_version

docker build --build-arg ENVIRONMENT=$DEPLOY_ENV -t $LATEST_TAG -t $VERSION_TAG .
