Skip to content

Commit

Permalink
fix: use classic docker image
Browse files Browse the repository at this point in the history
Signed-off-by: Mirko Mollik <[email protected]>
  • Loading branch information
cre8 committed Jun 12, 2024
1 parent 9a43566 commit 09906d0
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions apps/holder-app/Dockerfile
Original file line number Diff line number Diff line change
@@ -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 && \
Expand All @@ -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;"]

0 comments on commit 09906d0

Please sign in to comment.