Add favicon, fix charset, fix index path

This commit is contained in:
3wc
2025-07-29 14:49:42 +01:00
parent cf9c01b06a
commit 092f821553
2 changed files with 6 additions and 1 deletions

View File

@ -2,7 +2,7 @@ FROM nginx:1.29.0
COPY entrypoint.sh /custom-docker-entrypoint.sh COPY entrypoint.sh /custom-docker-entrypoint.sh
COPY index.html /usr/share/nginx/html/index.html COPY index.html /usr/share/nginx/html/index.html.tmpl
RUN ["chmod", "a+x", "/custom-docker-entrypoint.sh"] RUN ["chmod", "a+x", "/custom-docker-entrypoint.sh"]

View File

@ -1,8 +1,13 @@
<html> <html>
<head> <head>
<meta charset="UTF-8">
<title>Docker Debugging Disco Challenge ${CHALLENGE}</title> <title>Docker Debugging Disco Challenge ${CHALLENGE}</title>
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🪩</text></svg>">
</head> </head>
<body> <body>
<h1>Far out! Challenge ${CHALLENGE} complete 🕺</h1> <h1>Far out! Challenge ${CHALLENGE} complete 🕺</h1>
<p>
Now hit <code>Ctrl+C</code>, then run <code>docker-compose down</code> and move on to the next challenge!
</p>
</body> </body>
</html> </html>