summaryrefslogtreecommitdiff
path: root/scripts/package
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/package')
-rwxr-xr-xscripts/package7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/package b/scripts/package
new file mode 100755
index 0000000..3d83394
--- /dev/null
+++ b/scripts/package
@@ -0,0 +1,7 @@
+DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )/.."
+
+cd $DIR/web
+sudo docker build -t mschuurmans/blender-web:$1 .
+
+cd $DIR/api
+sudo docker build -t mschuurmans/blender-api:$1 .