#!/bin/bash

# Used when building inside a Docker image!
if [ ! -f /app/bower.json ]; then
    echo "You forgot to mount the volume, see README.md"
else
    cd /app

    npm install
    grunt build
fi

#!/bin/bash

# Used when building inside a Docker image!
if [ -f /app/bower.json ]; then
    echo "You forgot to mount the volume, see README.md"
else
    cd /app

    npm install
    grunt build
fi

--- 
+++ 
@@ -1,7 +1,7 @@
 #!/bin/bash
 
 # Used when building inside a Docker image!
-if [ ! -f /app/bower.json ]; then
+if [ -f /app/bower.json ]; then
     echo "You forgot to mount the volume, see README.md"
 else
     cd /app
Correct file exists logic for local docker builds

fixes #107