mirror of
https://github.com/hoellen/dockerfiles.git
synced 2025-07-02 23:25:41 +00:00
boring-nginx: update Dockerfile, optimisations
This commit is contained in:
4
boring-nginx/rootfs/usr/local/bin/run.sh
Normal file
4
boring-nginx/rootfs/usr/local/bin/run.sh
Normal file
@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
chown -R $UID:$GID /etc/nginx /var/log/nginx /sites-enabled /conf.d /certs /www /tmp
|
||||
chmod -R 700 /certs
|
||||
exec su-exec $UID:$GID /sbin/tini -- nginx
|
Reference in New Issue
Block a user