aboutsummaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
Diffstat (limited to 'docker')
-rwxr-xr-xdocker/build.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/docker/build.sh b/docker/build.sh
index 3b374e6..e40b83d 100755
--- a/docker/build.sh
+++ b/docker/build.sh
@@ -3,7 +3,9 @@
image=${1:-match-box}
-if ! docker build -t $image . ; then
+script_dir=$(readlink -f $(dirname $0))
+
+if ! docker build -t $image $script_dir ; then
echo "ERR: Failed to build docker image!"
exit 1
fi