Get unit-test container working

node_modules was being overwritten by the bind-mount when the container started. This is kind of hacky, but it’s the only way to do this without changing everything.
This commit is contained in:
Shane McDonald
2016-11-02 19:30:22 -04:00
parent 2084999e78
commit 793ce37a07
2 changed files with 19 additions and 2 deletions

View File

@@ -0,0 +1,7 @@
#!/bin/bash
set -e
mkdir -p /ansible-tower/awx/ui/
mv -n /tmp/ansible-tower/awx/ui/node_modules /ansible-tower/awx/ui
exec $@