diff --git a/nginx.conf b/nginx.conf new file mode 100644 index 0000000..7b7cb6c --- /dev/null +++ b/nginx.conf @@ -0,0 +1,9 @@ +server { + listen 80; + root /usr/share/nginx/html; + index index.html; + + location / { + try_files $uri $uri/ /index.html; + } +} \ No newline at end of file diff --git a/vue.Dockerfile b/vue.Dockerfile new file mode 100644 index 0000000..e0504ac --- /dev/null +++ b/vue.Dockerfile @@ -0,0 +1,2 @@ +FROM nginx:alpine +COPY dist /usr/share/nginx/html