From 10236f110fbfeaab6fae6ab8961e0ae713e41b4f Mon Sep 17 00:00:00 2001 From: squall7011 Date: Wed, 22 Nov 2023 12:30:51 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20::=20volume?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/cd.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 331916e..a8c6115 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -38,5 +38,5 @@ jobs: docker pull ${{ secrets.DOCKER_REPOSITORY }} docker stop onui-server docker rm onui-server - docker run -dp ${{ secrets.HOST_PORT }}:${{ secrets.DOCKER_CONTAINER_PORT }} --name onui-server --env-file .env ${{ secrets.DOCKER_REPOSITORY }} --secret ${{ secrets.FCM_JSON_PATH }} + docker run -v /home/ec2-user:/app -dp ${{ secrets.HOST_PORT }}:${{ secrets.DOCKER_CONTAINER_PORT }} --name onui-server --env-file .env ${{ secrets.DOCKER_REPOSITORY }} docker rmi $(docker images -f "dangling=true" -q) \ No newline at end of file