dockerfile build and run

This commit is contained in:
2018-10-05 15:12:13 +02:00
parent 4c033ac86c
commit 7fce1b2cde
3 changed files with 35 additions and 0 deletions

11
clojure_frontend/docker/build Executable file
View File

@@ -0,0 +1,11 @@
#!/bin/sh
target="$1"
if [ "$target" = "" ]; then target=develop; fi
if test -d src/toaster; then
docker build -f docker/Dockerfile -t dyne/toaster.do:$target .
else
echo "Launch from base source directiory. Usage:"
echo "./docker/build"
fi