From 09906d0d707c189608a28474b5f274bf2c84c9c1 Mon Sep 17 00:00:00 2001 From: Mirko Mollik Date: Wed, 12 Jun 2024 23:12:27 +0200 Subject: [PATCH] fix: use classic docker image Signed-off-by: Mirko Mollik --- apps/holder-app/Dockerfile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/apps/holder-app/Dockerfile b/apps/holder-app/Dockerfile index 5e9437f2..50083765 100644 --- a/apps/holder-app/Dockerfile +++ b/apps/holder-app/Dockerfile @@ -1,4 +1,4 @@ -FROM fholzer/nginx-brotli:v1.12.2 +FROM docker.io/nginx:stable-alpine COPY dist/apps/holder-app/* /usr/share/nginx/html/ RUN echo "server {" > /etc/nginx/conf.d/default.conf && \ echo " listen 80;" >> /etc/nginx/conf.d/default.conf && \ @@ -8,8 +8,5 @@ RUN echo "server {" > /etc/nginx/conf.d/default.conf && \ echo " try_files \$uri \$uri/ /index.html =404;" >> /etc/nginx/conf.d/default.conf && \ echo " }" >> /etc/nginx/conf.d/default.conf && \ echo "}" >> /etc/nginx/conf.d/default.conf -RUN echo "brotli on;" >> /etc/nginx/nginx.conf && \ - echo "brotli_static on;" >> /etc/nginx/nginx.conf && \ - echo "brotli_types text/plain text/css application/javascript application/json image/svg+xml application/xml+rss;" >> /etc/nginx/nginx.conf EXPOSE 80 CMD ["nginx", "-g", "daemon off;"]