wip
This commit is contained in:
		| @ -1,5 +1,3 @@ | |||||||
| FROM nginx:latest | FROM php:apache | ||||||
|  |  | ||||||
| COPY src /usr/share/nginx/html | COPY src/ /var/www/html | ||||||
|  |  | ||||||
| CMD ["nginx", "-g", "daemon off;"] |  | ||||||
|  | |||||||
| @ -1,3 +1 @@ | |||||||
| FROM nginx:latest | FROM php:apache | ||||||
|  |  | ||||||
| CMD ["nginx", "-g", "daemon off;"] |  | ||||||
|  | |||||||
| @ -8,5 +8,5 @@ services: | |||||||
|     ports: |     ports: | ||||||
|       - '8080:80' |       - '8080:80' | ||||||
|     volumes: |     volumes: | ||||||
|       - './src:/usr/share/nginx/html' |       - './src:/var/www/html' | ||||||
|  |  | ||||||
|  | |||||||
| @ -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 { |     html, body { | ||||||
|       height: 100%; |       height: 100%; | ||||||
|     } |     } | ||||||
| @ -49,11 +42,3 @@ | |||||||
|       0% { background-position: 0 0; } |       0% { background-position: 0 0; } | ||||||
|       100% { background-position: -4rem 0; } /* Moves further to ensure smooth loop */ |       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
									
								
							
							
						
						
									
										15
									
								
								src/index.php
									
									
									
									
									
										Normal 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> | ||||||
		Reference in New Issue
	
	Block a user