From edb33c6f4a12720cf2f27e44782dd54db96289be Mon Sep 17 00:00:00 2001 From: Abdul Kareem Date: Wed, 18 Mar 2026 20:04:55 +0300 Subject: [PATCH] release: add dockerized nginx deployment --- .dockerignore | 4 ++++ Dockerfile | 8 ++++++++ nginx.conf | 12 ++++++++++++ 3 files changed, 24 insertions(+) create mode 100644 .dockerignore create mode 100644 Dockerfile create mode 100644 nginx.conf diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..7474287 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,4 @@ +.git +.gitignore +landing-page-deploy.zip + diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..389997f --- /dev/null +++ b/Dockerfile @@ -0,0 +1,8 @@ +FROM nginx:1.27-alpine + +# Serve the static landing page through Nginx on port 80. +COPY nginx.conf /etc/nginx/conf.d/default.conf +COPY . /usr/share/nginx/html + +EXPOSE 80 + diff --git a/nginx.conf b/nginx.conf new file mode 100644 index 0000000..306de3c --- /dev/null +++ b/nginx.conf @@ -0,0 +1,12 @@ +server { + listen 80; + server_name _; + + root /usr/share/nginx/html; + index index.html; + + location / { + try_files $uri $uri/ =404; + } +} +