diff --git a/micro-ui/web/packages/ui/docker/Dockerfile b/micro-ui/web/packages/ui/docker/Dockerfile index 9fb65ec5b5e..0825ba02c21 100644 --- a/micro-ui/web/packages/ui/docker/Dockerfile +++ b/micro-ui/web/packages/ui/docker/Dockerfile @@ -38,7 +38,7 @@ RUN yarn build FROM nginx:mainline-alpine -ENV WORK_DIR=/var/web/ui-core-mfe +ENV WORK_DIR=/var/web/ui RUN mkdir -p ${WORK_DIR} diff --git a/micro-ui/web/packages/ui/docker/nginx.conf b/micro-ui/web/packages/ui/docker/nginx.conf index ab0d10f7905..25a70a83990 100644 --- a/micro-ui/web/packages/ui/docker/nginx.conf +++ b/micro-ui/web/packages/ui/docker/nginx.conf @@ -3,10 +3,10 @@ server listen 80; underscores_in_headers on; - location /ui-core-mfe + location /ui { root /var/web; index index.html index.htm; - try_files $uri $uri/ /ui-core-mfe/index.html; + try_files $uri $uri/ /ui/index.html; } } \ No newline at end of file