#!/bin/bash

image="262628360495.dkr.ecr.us-east-1.amazonaws.com/dapi-docker:frontend-dev-v2"
path="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"

# Go to the root of the repo
cd "$path"
cd ../../../

# Build the image
docker build \
	--force-rm \
	-t $image \
	-f docker/env/dev-v2/Dockerfile \
	.

# Push it
docker push $image

