Co-authored-by: Tim Lai <timothy.lai@gmail.com>
This commit is contained in:
2
docker/run.sh → docker/docker-entrypoint.d/40-swagger-ui.sh
Normal file → Executable file
2
docker/run.sh → docker/docker-entrypoint.d/40-swagger-ui.sh
Normal file → Executable 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;'
|
||||
Reference in New Issue
Block a user