From 2e92eba3806d62c5897fa928a15c44029d88d49c Mon Sep 17 00:00:00 2001 From: wonholim Date: Mon, 20 Nov 2023 20:02:51 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20docker=20run=EC=97=90=EC=84=9C=20?= =?UTF-8?q?=ED=8F=AC=ED=8A=B8=20=EB=A7=A4=ED=95=91=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/BackEnd_CD.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/BackEnd_CD.yml b/.github/workflows/BackEnd_CD.yml index 981b580c..ec71b72f 100644 --- a/.github/workflows/BackEnd_CD.yml +++ b/.github/workflows/BackEnd_CD.yml @@ -39,5 +39,5 @@ jobs: docker stop my-app || true docker rm my-app || true docker cp /var/env/.env my-app:/var/env/.env - docker run --name my-app -d -p 3000:3000 --env-file /var/env/.env ${{ secrets.NCP_CONTAINER_REGISTRY }}/my-app:latest + docker run --name my-app -d -p --net=host --env-file /var/env/.env ${{ secrets.NCP_CONTAINER_REGISTRY }}/my-app:latest '