Update Containerfile to use plain Nginx

Only add required files to container
Fix HTML title
This commit is contained in:
Jan Grewe committed 2024-10-14 16:38:30 +02:00
1 parent 42068ad3d8
commit f2760a941b
4 files changed
+15 -5

No files matched your search

+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;"