diff --git a/Dockerfile b/Dockerfile index e69de29..a66f0fd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -0,0 +1,7 @@ +FROM nginx:latest + +COPY nginx.conf /etc/nginx/nginx.conf + +COPY ./public /var/www/static + +RUN nginx -t diff --git a/nginx.conf b/nginx.conf new file mode 100644 index 0000000..e795fd5 --- /dev/null +++ b/nginx.conf @@ -0,0 +1,25 @@ +events { + worker_connections 1024; +} + +http { + include mime.types; + default_type application/octet-stream; + + access_log /var/log/nginx/access.log; + error_log /var/log/nginx/error.log; + + server { + listen 80; + #server_name localhost; + root /var/www/static; + + index index.html; + + location / { + try_files $uri $uri/ =404; + } + + } + +} diff --git a/static/Resume.pdf b/static/resume.pdf similarity index 100% rename from static/Resume.pdf rename to static/resume.pdf