Browse Source

🐳 Added Dockerfiles, FE Placeholder

f/2-backend-asp-net-core-initialisieren
Levin Faber 7 years ago
parent
commit
9f7ba498f5
No known key found for this signature in database
GPG Key ID: 85C4F1EFCF5B0A71
  1. 6
      Docker/Dockerfile_FE_Host
  2. 14
      Docker/config/nginx.conf
  3. 12
      Frontend/dist/index.html

6
Docker/Dockerfile_FE_Host

@ -0,0 +1,6 @@
# Tag: frontend-serve
FROM nginx
COPY Frontend/dist /usr/share/nginx/html
COPY Docker/config/nginx.conf /etc/nginx/nginx.conf

14
Docker/config/nginx.conf

@ -0,0 +1,14 @@
events {
worker_connections 1024;
}
http {
server {
listen 80;
root /usr/share/nginx/html;
location / {
autoindex on;
}
}
}

12
Frontend/dist/index.html vendored

@ -0,0 +1,12 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Temporäre Seite</title>
</head>
<body>
Hallo bitte geh weg.
</body>
</html>
Loading…
Cancel
Save