Skip to content

Commit

Permalink
update server
Browse files Browse the repository at this point in the history
  • Loading branch information
pengpeng committed Dec 6, 2024
1 parent d806416 commit c909ca6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docker/profile/Dockerfile-profile-frontend
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM nginx:stable-alpine

RUN sed -i '1idaemon off;' /etc/nginx/nginx.conf

COPY nginx.conf /etc/nginx/conf.d/default.conf
COPY ./docker/profile/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
Expand Down
2 changes: 1 addition & 1 deletion docker/profile/Dockerfile-profile-preview
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM nginx:stable-alpine

RUN sed -i '1idaemon off;' /etc/nginx/nginx.conf

COPY nginx.preview.conf /etc/nginx/conf.d/default.conf
COPY ./docker/profile/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
Expand Down
4 changes: 2 additions & 2 deletions docker/settings/Dockerfile-settings-frontend
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ FROM nginx:stable-alpine

RUN sed -i '1idaemon off;' /etc/nginx/nginx.conf

COPY nginx.conf /etc/nginx/conf.d/default.conf
COPY ./docker/settings/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/frontend/dist/spa/ /app
COPY ./packages/frontend/dist/spa/ /app

EXPOSE 80

Expand Down

0 comments on commit c909ca6

Please sign in to comment.