Skip to content

Commit

Permalink
conf: 배포 스크립트 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Miensoap committed Dec 9, 2024
1 parent 54b7c85 commit 7efd964
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup/production/deploy/deploy-backend.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ echo "Docker 배포 진행 중..."
docker rm "$CONTAINER_NAME" || echo "기존 컨테이너 삭제 실패" &&
docker image prune -f &&
docker container prune -f &&
docker run -d --name "$CONTAINER_NAME" -p 8080:8080 "$IMAGE_NAME" &&
docker run -d --name "$CONTAINER_NAME" --add-host host.docker.internal:host-gateway -p 8080:8080 "$IMAGE_NAME"
echo "새 컨테이너 실행 성공."
} > "$DEPLOY_LOG_FILE" 2>&1

Expand Down

0 comments on commit 7efd964

Please sign in to comment.