From 1e53d285aaaab12884ea3b28e30cfe0965f0ace2 Mon Sep 17 00:00:00 2001 From: Artem Eroshenko Date: Fri, 7 Oct 2022 13:26:07 +0530 Subject: [PATCH] migrate to bitnami/nginx (via #167) --- Dockerfile | 5 +++-- nginx/site.conf | 6 ++++++ 2 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 nginx/site.conf diff --git a/Dockerfile b/Dockerfile index 35b2e3c..0928a79 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,6 @@ -FROM nginx:alpine +FROM bitnami/nginx -COPY public /usr/share/nginx/html +COPY public /app +COPY nginx/site.conf /opt/bitnami/nginx/conf/server_blocks/site.conf EXPOSE 80 diff --git a/nginx/site.conf b/nginx/site.conf new file mode 100644 index 0000000..e14073a --- /dev/null +++ b/nginx/site.conf @@ -0,0 +1,6 @@ +server { + listen 0.0.0.0:80 default_server; + + root /app; + index index.html; +}