diff options
author | Frédéric Guillot <fred@kanboard.net> | 2017-11-30 16:47:52 -0800 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2017-11-30 16:55:53 -0800 |
commit | 55547db6ce691a71d19a502178c2a9e00a303dd5 (patch) | |
tree | 41197ca843b9b0d5f47e6b22e5bcc00a4aa37b68 /docker/usr/local/bin/entrypoint.sh | |
parent | 12202f04511c14844641edce879afd81e10e767b (diff) |
Improve docker build to use hooks
Diffstat (limited to 'docker/usr/local/bin/entrypoint.sh')
-rwxr-xr-x | docker/usr/local/bin/entrypoint.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docker/usr/local/bin/entrypoint.sh b/docker/usr/local/bin/entrypoint.sh new file mode 100755 index 00000000..fe49c41b --- /dev/null +++ b/docker/usr/local/bin/entrypoint.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +chown -R nginx:nginx /var/www/app/data +chown -R nginx:nginx /var/www/app/plugins + +exec /bin/s6-svscan /etc/services.d |