diff --git a/Dockerfile b/Dockerfile index 488b66f..6142040 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,9 @@ FROM node:14-alpine as build WORKDIR /app -COPY index.html main.js package.json build.js /app/ +COPY public/index.html /app/public/index.html + +COPY main.js package.json build.js /app/ RUN yarn \ && yarn run build diff --git a/README b/README.md similarity index 100% rename from README rename to README.md diff --git a/nginx/conf.d/default.conf b/nginx/conf.d/default.conf index 1adeb10..e1e0040 100644 --- a/nginx/conf.d/default.conf +++ b/nginx/conf.d/default.conf @@ -1,6 +1,6 @@ server { listen 80; - root /app/public; + root /app; location / { index index.html;