generated from bisco/codex-bootstrap
feat: add initial Docker Compose infrastructure
This commit is contained in:
6
infra/docker/frontend/Dockerfile
Normal file
6
infra/docker/frontend/Dockerfile
Normal file
@@ -0,0 +1,6 @@
|
||||
FROM nginx:1.27.0-alpine
|
||||
|
||||
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
||||
COPY html/ /usr/share/nginx/html/
|
||||
|
||||
EXPOSE 8080
|
||||
14
infra/docker/frontend/html/index.html
Normal file
14
infra/docker/frontend/html/index.html
Normal file
@@ -0,0 +1,14 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>AzioneLab</title>
|
||||
</head>
|
||||
<body>
|
||||
<main>
|
||||
<h1>AzioneLab frontend placeholder</h1>
|
||||
<p>The Angular application build will replace this page.</p>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
11
infra/docker/frontend/nginx.conf
Normal file
11
infra/docker/frontend/nginx.conf
Normal file
@@ -0,0 +1,11 @@
|
||||
server {
|
||||
listen 8080;
|
||||
server_name _;
|
||||
|
||||
root /usr/share/nginx/html;
|
||||
index index.html;
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ /index.html;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user