From e56dc8aebe2a6d3c92a3b778e9a12282107e26b5 Mon Sep 17 00:00:00 2001 From: Neur0toxine Date: Thu, 18 Jan 2024 18:31:21 +0300 Subject: [PATCH] update configs --- Dockerfile | 5 +++++ nginx.conf | 3 +++ 2 files changed, 8 insertions(+) create mode 100644 Dockerfile create mode 100644 nginx.conf diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..a0eb08b --- /dev/null +++ b/Dockerfile @@ -0,0 +1,5 @@ +FROM nginx:stable-alpine +WORKDIR /var/www/html + +COPY /public /var/www/html +COPY ./nginx.conf /etc/nginx/conf.d/default.conf \ No newline at end of file diff --git a/nginx.conf b/nginx.conf new file mode 100644 index 0000000..16f8411 --- /dev/null +++ b/nginx.conf @@ -0,0 +1,3 @@ +server { + root /var/www/html; +}