Skip to content

Commit

Permalink
Only make a small nginx config change
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyannn committed Dec 26, 2023
1 parent cf1b198 commit 1359fed
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ RUN ["zola", "build"]
# Run web server
FROM registry.cluster.megaver.se/hub.docker.com/nginx
COPY --from=zola /project/public/ /usr/share/nginx/html/
COPY nginx.conf /etc/nginx/nginx.conf
RUN mv /etc/nginx/mime.types /etc/nginx/mime.types.original
COPY mime.types /etc/nginx/mime.types
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]
5 changes: 5 additions & 0 deletions mime.types
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
include mime.types.original;

types {
text/plain yaml tf;
}

0 comments on commit 1359fed

Please sign in to comment.