From a888d36d3c9e26e0b9db76ded3e613a7d7a7d1ce Mon Sep 17 00:00:00 2001 From: Leopere Date: Wed, 3 Oct 2018 13:39:28 -0400 Subject: [PATCH] Committing start.sh This will likely be mostly an unnecessary file unless we get more flags For now it just asserts recursive dir perms. --- chainquery/start.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 chainquery/start.sh diff --git a/chainquery/start.sh b/chainquery/start.sh new file mode 100644 index 0000000..470d6b8 --- /dev/null +++ b/chainquery/start.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +## Ensure perms are correct prior to running main binary +chown -R 1000:1000 /data +chmod -R 755 /data + +## For now keeping this simple. Potentially eventually add all command args as envvars for the Dockerfile or use safe way to add args via docker-compose.yml +~/chainquery