From 8fcf8d5e213cae7b7f4758c146aeafb70d576735 Mon Sep 17 00:00:00 2001 From: Peng Peng Date: Fri, 6 Dec 2024 19:59:35 +0800 Subject: [PATCH] update server --- docker/profile/Dockerfile-profile-frontend | 2 +- docker/profile/Dockerfile-profile-preview | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/profile/Dockerfile-profile-frontend b/docker/profile/Dockerfile-profile-frontend index 8121fcc..64e1a8c 100644 --- a/docker/profile/Dockerfile-profile-frontend +++ b/docker/profile/Dockerfile-profile-frontend @@ -5,7 +5,7 @@ RUN sed -i '1idaemon off;' /etc/nginx/nginx.conf COPY nginx.conf /etc/nginx/conf.d/default.conf # adapt the `dist/` folder to the output directory your build tool uses (such as `dist/`, `build/` or `www/`). -COPY ../../packages/editor/dist/spa/ /app +COPY ./packages/editor/dist/spa/ /app EXPOSE 80 diff --git a/docker/profile/Dockerfile-profile-preview b/docker/profile/Dockerfile-profile-preview index 3d1ecc4..d9a0371 100644 --- a/docker/profile/Dockerfile-profile-preview +++ b/docker/profile/Dockerfile-profile-preview @@ -5,7 +5,7 @@ RUN sed -i '1idaemon off;' /etc/nginx/nginx.conf COPY nginx.preview.conf /etc/nginx/conf.d/default.conf # adapt the `dist/` folder to the output directory your build tool uses (such as `dist/`, `build/` or `www/`). -COPY ../../packages/editor/dist/spa/ /app +COPY ./packages/editor/dist/spa/ /app EXPOSE 80