Improve docker build to use hooks

This commit is contained in:
Frédéric Guillot
2017-11-30 16:47:52 -08:00
parent 12202f0451
commit 55547db6ce
16 changed files with 161 additions and 20 deletions

View File

@@ -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