vignesh-manel commented on code in PR #129:
URL: https://github.com/apache/polaris-tools/pull/129#discussion_r2679231857


##########
console/docker/Dockerfile:
##########
@@ -39,23 +39,34 @@ COPY . .
 RUN npm run build
 
 # Production stage
-FROM nginx:alpine
+FROM registry.access.redhat.com/ubi9/nginx-126:latest
+
+# Switch to root to configure the image
+USER 0
 
 # Copy DISCLAIMER, LICENSE, NOTICE files
 COPY DISCLAIMER /DISCLAIMER
 COPY LICENSE-BUNDLE /LICENSE
 COPY NOTICE /NOTICE
 
+# Override Global Nginx Config
+COPY docker/nginx-global.conf /etc/nginx/nginx.conf
+
 # Copy custom nginx configuration as template
 COPY docker/nginx.conf /etc/nginx/conf.d/default.conf.template

Review Comment:
   done



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to