Update Containerfile to use plain Nginx

Only add required files to container
Fix HTML title
This commit is contained in:
Jan Grewe
2024-10-14 16:38:30 +02:00
parent 42068ad3d8
commit f2760a941b
4 changed files with 15 additions and 5 deletions
+7 -2
View File
@@ -1,5 +1,10 @@
FROM registry.access.redhat.com/ubi9/nginx-122:1-45
FROM nginx:1.27.2-alpine
RUN rm -r /usr/share/nginx/html \
&& mkdir /usr/share/nginx/html
WORKDIR /usr/share/nginx/html
ADD dist .
CMD nginx -g "daemon off;"
CMD nginx -g "daemon off;"