From c425e4042b26851112354d94953e77f658beeaef Mon Sep 17 00:00:00 2001 From: byeong Date: Wed, 13 Nov 2024 00:46:46 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=ED=8F=AC=ED=8A=B8=20=EC=88=98=EC=A0=95?= =?UTF-8?q?=203000=20->=204173?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/frontend-ci-cd.yml | 2 +- Dockerfile.fe | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/frontend-ci-cd.yml b/.github/workflows/frontend-ci-cd.yml index da6cddda..bdbec589 100644 --- a/.github/workflows/frontend-ci-cd.yml +++ b/.github/workflows/frontend-ci-cd.yml @@ -83,7 +83,7 @@ jobs: docker rm you-quiz-fe || true docker pull ${{ secrets.DOCKER_HUB_CLIENT_USERNAME }}/you-quiz-fe:${{ github.run_number }} - docker run -d --name you-quiz-fe -p 80:3000 ${{ secrets.DOCKER_HUB_CLIENT_USERNAME }}/you-quiz-fe:${{ github.run_number }} + docker run -d --name you-quiz-fe -p 80:4173 ${{ secrets.DOCKER_HUB_CLIENT_USERNAME }}/you-quiz-fe:${{ github.run_number }} - name: Github Actions IP를 ACG, ACL 규칙에서 삭제 run: | diff --git a/Dockerfile.fe b/Dockerfile.fe index ee60ab83..5551bbeb 100644 --- a/Dockerfile.fe +++ b/Dockerfile.fe @@ -34,10 +34,10 @@ RUN yarn install # 환경 변수 설정 ENV NODE_ENV production -ENV PORT 3000 +ENV PORT 4173 # 포트 설정 -EXPOSE 3000 +EXPOSE 4173 # 실행 명령어 CMD ["yarn", "workspace", "client", "preview", "--host", "0.0.0.0"]