From f7174727d4b15dbf0e7fe2f83f4991fbed2e0dc3 Mon Sep 17 00:00:00 2001 From: Kilu Date: Sat, 29 Jun 2024 00:57:48 +0800 Subject: [PATCH] fix: deploy --- .github/workflows/deploy_test_web.yaml | 2 +- frontend/appflowy_web_app/Dockerfile | 2 +- frontend/appflowy_web_app/nginx.conf | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy_test_web.yaml b/.github/workflows/deploy_test_web.yaml index 06fbf4965d..f4cc82fa80 100644 --- a/.github/workflows/deploy_test_web.yaml +++ b/.github/workflows/deploy_test_web.yaml @@ -71,4 +71,4 @@ jobs: cd appflowy-web-app docker build -t appflowy-web-app . docker rm -f appflowy-web-app || true - docker run -d -p 3000:80 --env-file .env --name appflowy-web-app appflowy-web-app + docker run -d -p 3000:3000 --env-file .env --name appflowy-web-app appflowy-web-app diff --git a/frontend/appflowy_web_app/Dockerfile b/frontend/appflowy_web_app/Dockerfile index 7c12ec0203..15938738ad 100644 --- a/frontend/appflowy_web_app/Dockerfile +++ b/frontend/appflowy_web_app/Dockerfile @@ -26,6 +26,6 @@ COPY start.sh /app/start.sh RUN chmod +x /app/start.sh -EXPOSE 80 +EXPOSE 3000 CMD ["/app/start.sh"] diff --git a/frontend/appflowy_web_app/nginx.conf b/frontend/appflowy_web_app/nginx.conf index bc2b51a0a9..099a0781cd 100644 --- a/frontend/appflowy_web_app/nginx.conf +++ b/frontend/appflowy_web_app/nginx.conf @@ -1,5 +1,5 @@ server { - listen 80; + listen 3000; server_name localhost; location / {