From 55547db6ce691a71d19a502178c2a9e00a303dd5 Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Thu, 30 Nov 2017 16:47:52 -0800 Subject: Improve docker build to use hooks --- docker/usr/local/bin/entrypoint.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 docker/usr/local/bin/entrypoint.sh (limited to 'docker/usr/local') 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 -- cgit v1.2.3