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