Skip to content

Commit a7abd61

Browse files
authored
fix(docker): restore accidental deletion in docker-run.sh (#2858)
Refs #2853
1 parent 22152f0 commit a7abd61

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docker-run.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,11 @@ fi
3333

3434
## Adding env var support for `queryConfigEnabled` core configuration parameter of SwaggerUI
3535
if [[ "${QUERY_CONFIG_ENABLED}" = "true" ]]; then
36-
sed -i 's|queryConfigEnabled: false|queryConfigEnabled: true|' $INDEX_FILE
36+
sed -i "s|queryConfigEnabled: false|queryConfigEnabled: true|" $INDEX_FILE
3737
fi
3838

39+
exec nginx -g 'daemon off;'
40+
3941
## Gzip after replacements
4042
#find /usr/share/nginx/html/ -type f -regex ".*\.\(html\|js\|css\)" -exec sh -c "gzip < {} > {}.gz" \;
4143
#

0 commit comments

Comments
 (0)