From 9f7ba498f56681ec531b5444ae3a94dd152115b2 Mon Sep 17 00:00:00 2001 From: Levin Faber Date: Wed, 8 May 2019 14:19:50 +0200 Subject: [PATCH] :whale: Added Dockerfiles, FE Placeholder --- Docker/Dockerfile_FE_Host | 6 ++++++ Docker/config/nginx.conf | 14 ++++++++++++++ Frontend/dist/index.html | 12 ++++++++++++ 3 files changed, 32 insertions(+) create mode 100644 Docker/Dockerfile_FE_Host create mode 100644 Docker/config/nginx.conf create mode 100644 Frontend/dist/index.html diff --git a/Docker/Dockerfile_FE_Host b/Docker/Dockerfile_FE_Host new file mode 100644 index 0000000..0425bbc --- /dev/null +++ b/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 diff --git a/Docker/config/nginx.conf b/Docker/config/nginx.conf new file mode 100644 index 0000000..9b76746 --- /dev/null +++ b/Docker/config/nginx.conf @@ -0,0 +1,14 @@ +events { + worker_connections 1024; +} + +http { + server { + listen 80; + root /usr/share/nginx/html; + + location / { + autoindex on; + } + } +} \ No newline at end of file diff --git a/Frontend/dist/index.html b/Frontend/dist/index.html new file mode 100644 index 0000000..bde8796 --- /dev/null +++ b/Frontend/dist/index.html @@ -0,0 +1,12 @@ + + + + + + + Temporäre Seite + + + Hallo bitte geh weg. + + \ No newline at end of file