improvement(docker): migrate run.sh to docker-entrypoint.d-script (#7915) (#7916)

Co-authored-by: Tim Lai <timothy.lai@gmail.com>
This commit is contained in:
Matthias Blümel
2022-03-21 23:25:56 +01:00
committed by GitHub
parent 77d0bb960b
commit 2879773f3f
2 changed files with 2 additions and 7 deletions

View File

@@ -62,5 +62,3 @@ if [[ -n "${PORT}" ]]; then
fi
find $NGINX_ROOT -type f -regex ".*\.\(html\|js\|css\)" -exec sh -c "gzip < {} > {}.gz" \;
exec nginx -g 'daemon off;'