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; +}