diff --git a/frontend/Dockerfile b/frontend/Dockerfile index 4bc6d5d..c54d876 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -1,4 +1,4 @@ FROM nginx:alpine-slim EXPOSE 80 COPY nginx.conf /etc/nginx/sites-enabled/serve.conf -COPY dist /usr/share/nginx/html \ No newline at end of file +COPY dist /data/www \ No newline at end of file diff --git a/frontend/nginx.conf b/frontend/nginx.conf index 85e6124..d0bd5b6 100644 --- a/frontend/nginx.conf +++ b/frontend/nginx.conf @@ -1,6 +1,6 @@ server { listen 80; - root /usr/share/nginx/html; + root /data/www; location / { try_files $uri $uri/ /index.html; }