diff --git a/docker/app/run-development b/docker/app/run-development index 15510792..c7f81962 100755 --- a/docker/app/run-development +++ b/docker/app/run-development @@ -1,7 +1,11 @@ #!/bin/bash # Always install assets -(cd /srv/philomena/assets && npm install) +( +cd /srv/philomena/assets +# workaround for #31 +npm install || (chown -R root:root node_modules && npm install) +) # Always install mix dependencies (cd /srv/philomena && mix deps.get) @@ -21,4 +25,4 @@ echo createdb -h postgres -U postgres philomena_dev && mix ecto.setup_dev # Run the application -mix phx.server \ No newline at end of file +mix phx.server