This commit is contained in:
2025-03-13 13:00:45 +01:00
parent 359bbfc670
commit afdd64a831
5 changed files with 19 additions and 23 deletions

View File

@ -1,5 +1,3 @@
FROM nginx:latest
FROM php:apache
COPY src /usr/share/nginx/html
CMD ["nginx", "-g", "daemon off;"]
COPY src/ /var/www/html

View File

@ -1,3 +1 @@
FROM nginx:latest
CMD ["nginx", "-g", "daemon off;"]
FROM php:apache

View File

@ -8,5 +8,5 @@ services:
ports:
- '8080:80'
volumes:
- './src:/usr/share/nginx/html'
- './src:/var/www/html'

View File

@ -1,10 +1,3 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title></title>
<style>
html, body {
height: 100%;
}
@ -49,11 +42,3 @@
0% { background-position: 0 0; }
100% { background-position: -4rem 0; } /* Moves further to ensure smooth loop */
}
</style>
</head>
<body>
<main>
<h1>Our website is under construction.</h1>
</main>
</body>
</html>

15
src/index.php Normal file
View File

@ -0,0 +1,15 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>⚠️</title>
<link rel="stylesheet" type="text/css" href="/assets/style.css">
</head>
<body>
<main>
<?= "test" ?>
<h1>Our website is under construction.</h1>
</main>
</body>
</html>